/**
 */
import * as $Util from '@alicloud/tea-util';
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
import * as $tea from '@alicloud/tea-typescript';
export declare class BatchInsertSearchItemHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class BatchInsertSearchItemRequest extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     */
    searchItemModels?: BatchInsertSearchItemRequestSearchItemModels[];
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class BatchInsertSearchItemResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class CreateSearchTabHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class CreateSearchTabRequest extends $tea.Model {
    darkIcon?: string;
    /**
     * **if can be null:**
     * false
     */
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 书籍
     */
    name?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    priority?: number;
    source?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    status?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class CreateSearchTabResponseBody extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 3333
     */
    tabId?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class CreateSearchTabResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    body?: CreateSearchTabResponseBody;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class DeleteSearchItemHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class DeleteSearchItemResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class DeleteSearchTabHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class DeleteSearchTabResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemResponseBody extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 四大名著
     */
    footer?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtCreate?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtModified?: string;
    /**
     * @remarks
     * This parameter is required.
     */
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1111
     */
    itemId?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    mobileUrl?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    pcUrl?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 中国古代章回体长篇小说
     */
    summary?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 3333
     */
    tabId?: number;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 红楼梦
     */
    title?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    url?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    body?: GetSearchItemResponseBody;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemsByKeyWordHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemsByKeyWordRequest extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 诺贝尔奖
     */
    keyWord?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 10
     */
    maxResults?: number;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 0
     */
    nextToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemsByKeyWordResponseBody extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     */
    nextToken?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 20
     */
    totalCount?: number;
    /**
     * @remarks
     * This parameter is required.
     */
    value?: GetSearchItemsByKeyWordResponseBodyValue[];
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemsByKeyWordResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    body?: GetSearchItemsByKeyWordResponseBody;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchTabHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchTabResponseBody extends $tea.Model {
    darkIcon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtCreate?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtModified?: string;
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 专辑
     */
    name?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    priority?: number;
    source?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 0
     */
    status?: number;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 3333
     */
    tabId?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchTabResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    body?: GetSearchTabResponseBody;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class InsertSearchItemHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class InsertSearchItemRequest extends $tea.Model {
    /**
     * @example
     * 四大名著
     */
    footer?: string;
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1111
     */
    itemId?: string;
    /**
     * @example
     * www.baidu.com
     */
    mobileUrl?: string;
    /**
     * @example
     * www.baidu.com
     */
    pcUrl?: string;
    /**
     * @example
     * 中国古代章回体长篇小说
     */
    summary?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 红楼梦
     */
    title?: string;
    /**
     * @example
     * www.baidu.com
     */
    url?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class InsertSearchItemResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class ListSearchTabsByOrgIdHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class ListSearchTabsByOrgIdResponseBody extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     */
    searchTabResult?: ListSearchTabsByOrgIdResponseBodySearchTabResult[];
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class ListSearchTabsByOrgIdResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    body?: ListSearchTabsByOrgIdResponseBody;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class UpdateSearchTabHeaders extends $tea.Model {
    commonHeaders?: {
        [key: string]: string;
    };
    xAcsDingtalkAccessToken?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class UpdateSearchTabRequest extends $tea.Model {
    darkIcon?: string;
    /**
     * **if can be null:**
     * false
     */
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 专辑
     */
    name?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    priority?: number;
    source?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    status?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class UpdateSearchTabResponse extends $tea.Model {
    headers?: {
        [key: string]: string;
    };
    statusCode?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class BatchInsertSearchItemRequestSearchItemModels extends $tea.Model {
    /**
     * @example
     * 四大名著
     */
    footer?: string;
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1111
     */
    itemId?: string;
    /**
     * @example
     * www.baidu.com
     */
    mobileUrl?: string;
    /**
     * @example
     * www.baidu.com
     */
    pcUrl?: string;
    /**
     * @example
     * 中国古代章回体长篇小说
     */
    summary?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 红楼梦
     */
    title?: string;
    /**
     * @example
     * www.baidu.com
     */
    url?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class GetSearchItemsByKeyWordResponseBodyValue extends $tea.Model {
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 四大名著
     */
    footer?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtCreate?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtModified?: string;
    /**
     * @remarks
     * This parameter is required.
     */
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1111
     */
    itemId?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    mobileUrl?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    pcUrl?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 中国古代章回体长篇小说
     */
    summary?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 3333
     */
    tabId?: number;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 红楼梦
     */
    title?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * www.baidu.com
     */
    url?: string;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export declare class ListSearchTabsByOrgIdResponseBodySearchTabResult extends $tea.Model {
    darkIcon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtCreate?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 2021-09-17T19:43Z
     */
    gmtModified?: string;
    icon?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 专辑
     */
    name?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 1
     */
    priority?: number;
    source?: string;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 0
     */
    status?: number;
    /**
     * @remarks
     * This parameter is required.
     *
     * @example
     * 3333
     */
    tabId?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    constructor(map?: {
        [key: string]: any;
    });
}
export default class Client extends OpenApi {
    constructor(config: $OpenApi.Config);
    /**
     * 为指定的数据源批量添加数据项
     *
     * @param request - BatchInsertSearchItemRequest
     * @param headers - BatchInsertSearchItemHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns BatchInsertSearchItemResponse
     */
    batchInsertSearchItemWithOptions(tabId: string, request: BatchInsertSearchItemRequest, headers: BatchInsertSearchItemHeaders, runtime: $Util.RuntimeOptions): Promise<BatchInsertSearchItemResponse>;
    /**
     * 为指定的数据源批量添加数据项
     *
     * @param request - BatchInsertSearchItemRequest
     * @returns BatchInsertSearchItemResponse
     */
    batchInsertSearchItem(tabId: string, request: BatchInsertSearchItemRequest): Promise<BatchInsertSearchItemResponse>;
    /**
     * 创建搜索数据源
     *
     * @param request - CreateSearchTabRequest
     * @param headers - CreateSearchTabHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns CreateSearchTabResponse
     */
    createSearchTabWithOptions(request: CreateSearchTabRequest, headers: CreateSearchTabHeaders, runtime: $Util.RuntimeOptions): Promise<CreateSearchTabResponse>;
    /**
     * 创建搜索数据源
     *
     * @param request - CreateSearchTabRequest
     * @returns CreateSearchTabResponse
     */
    createSearchTab(request: CreateSearchTabRequest): Promise<CreateSearchTabResponse>;
    /**
     * 从指定的数据源中删除一条数据项
     *
     * @param headers - DeleteSearchItemHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns DeleteSearchItemResponse
     */
    deleteSearchItemWithOptions(tabId: string, itemId: string, headers: DeleteSearchItemHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteSearchItemResponse>;
    /**
     * 从指定的数据源中删除一条数据项
     * @returns DeleteSearchItemResponse
     */
    deleteSearchItem(tabId: string, itemId: string): Promise<DeleteSearchItemResponse>;
    /**
     * 删除搜索数据源
     *
     * @param headers - DeleteSearchTabHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns DeleteSearchTabResponse
     */
    deleteSearchTabWithOptions(tabId: string, headers: DeleteSearchTabHeaders, runtime: $Util.RuntimeOptions): Promise<DeleteSearchTabResponse>;
    /**
     * 删除搜索数据源
     * @returns DeleteSearchTabResponse
     */
    deleteSearchTab(tabId: string): Promise<DeleteSearchTabResponse>;
    /**
     * 获取指定数据源中的一条数据项
     *
     * @param headers - GetSearchItemHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns GetSearchItemResponse
     */
    getSearchItemWithOptions(tabId: string, itemId: string, headers: GetSearchItemHeaders, runtime: $Util.RuntimeOptions): Promise<GetSearchItemResponse>;
    /**
     * 获取指定数据源中的一条数据项
     * @returns GetSearchItemResponse
     */
    getSearchItem(tabId: string, itemId: string): Promise<GetSearchItemResponse>;
    /**
     * 根据搜索关键词获取相关数据项
     *
     * @param request - GetSearchItemsByKeyWordRequest
     * @param headers - GetSearchItemsByKeyWordHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns GetSearchItemsByKeyWordResponse
     */
    getSearchItemsByKeyWordWithOptions(tabId: string, request: GetSearchItemsByKeyWordRequest, headers: GetSearchItemsByKeyWordHeaders, runtime: $Util.RuntimeOptions): Promise<GetSearchItemsByKeyWordResponse>;
    /**
     * 根据搜索关键词获取相关数据项
     *
     * @param request - GetSearchItemsByKeyWordRequest
     * @returns GetSearchItemsByKeyWordResponse
     */
    getSearchItemsByKeyWord(tabId: string, request: GetSearchItemsByKeyWordRequest): Promise<GetSearchItemsByKeyWordResponse>;
    /**
     * 获取搜索数据源
     *
     * @param headers - GetSearchTabHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns GetSearchTabResponse
     */
    getSearchTabWithOptions(tabId: string, headers: GetSearchTabHeaders, runtime: $Util.RuntimeOptions): Promise<GetSearchTabResponse>;
    /**
     * 获取搜索数据源
     * @returns GetSearchTabResponse
     */
    getSearchTab(tabId: string): Promise<GetSearchTabResponse>;
    /**
     * 为指定的数据源添加一条数据项
     *
     * @param request - InsertSearchItemRequest
     * @param headers - InsertSearchItemHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns InsertSearchItemResponse
     */
    insertSearchItemWithOptions(tabId: string, request: InsertSearchItemRequest, headers: InsertSearchItemHeaders, runtime: $Util.RuntimeOptions): Promise<InsertSearchItemResponse>;
    /**
     * 为指定的数据源添加一条数据项
     *
     * @param request - InsertSearchItemRequest
     * @returns InsertSearchItemResponse
     */
    insertSearchItem(tabId: string, request: InsertSearchItemRequest): Promise<InsertSearchItemResponse>;
    /**
     * 列出企业所有的搜索数据源
     *
     * @param headers - ListSearchTabsByOrgIdHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns ListSearchTabsByOrgIdResponse
     */
    listSearchTabsByOrgIdWithOptions(headers: ListSearchTabsByOrgIdHeaders, runtime: $Util.RuntimeOptions): Promise<ListSearchTabsByOrgIdResponse>;
    /**
     * 列出企业所有的搜索数据源
     * @returns ListSearchTabsByOrgIdResponse
     */
    listSearchTabsByOrgId(): Promise<ListSearchTabsByOrgIdResponse>;
    /**
     * 更新搜索数据源
     *
     * @param request - UpdateSearchTabRequest
     * @param headers - UpdateSearchTabHeaders
     * @param runtime - runtime options for this request RuntimeOptions
     * @returns UpdateSearchTabResponse
     */
    updateSearchTabWithOptions(tabId: string, request: UpdateSearchTabRequest, headers: UpdateSearchTabHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateSearchTabResponse>;
    /**
     * 更新搜索数据源
     *
     * @param request - UpdateSearchTabRequest
     * @returns UpdateSearchTabResponse
     */
    updateSearchTab(tabId: string, request: UpdateSearchTabRequest): Promise<UpdateSearchTabResponse>;
}
