/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { WebitelImApiGatewayV1SearchThreadResponse } from '../api';
/**
 * ThreadManagementApi - axios parameter creator
 * @export
 */
export declare const ThreadManagementApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Search threads with filters
     * @param {Array<string>} [fields] List of fields that should be returned in the response. If empty, a default set of fields is returned. Used for response optimization.
     * @param {Array<string>} [ids] Filter by specific thread IDs.
     * @param {Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>} [kinds] Filter threads by their kinds. UNKNOWN (0) is not allowed.   - UNKNOWN: Unknown or unspecified thread type. Must not be used in valid requests.  - DIRECT: One-to-one private thread between two users.  - GROUP: Group thread with multiple members.  - CHANNEL: Channel-style thread (broadcast or topic based communication).
     * @param {string} [q] Full-text search query. Typically applied to subject.
     * @param {number} [size] Maximum number of threads to return per page. Must be greater than 0 and less than or equal to 100.
     * @param {string} [sort] Sorting field. Optional \&quot;+\&quot; or \&quot;-\&quot; prefix indicates ascending or descending order. Example: \&quot;-created_at\&quot;, \&quot;subject\&quot;
     * @param {number} [page] Page number (1-based).
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    threadManagement: (fields?: Array<string>, ids?: Array<string>, kinds?: Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>, q?: string, size?: number, sort?: string, page?: number, options?: any) => Promise<RequestArgs>;
};
/**
 * ThreadManagementApi - functional programming interface
 * @export
 */
export declare const ThreadManagementApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Search threads with filters
     * @param {Array<string>} [fields] List of fields that should be returned in the response. If empty, a default set of fields is returned. Used for response optimization.
     * @param {Array<string>} [ids] Filter by specific thread IDs.
     * @param {Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>} [kinds] Filter threads by their kinds. UNKNOWN (0) is not allowed.   - UNKNOWN: Unknown or unspecified thread type. Must not be used in valid requests.  - DIRECT: One-to-one private thread between two users.  - GROUP: Group thread with multiple members.  - CHANNEL: Channel-style thread (broadcast or topic based communication).
     * @param {string} [q] Full-text search query. Typically applied to subject.
     * @param {number} [size] Maximum number of threads to return per page. Must be greater than 0 and less than or equal to 100.
     * @param {string} [sort] Sorting field. Optional \&quot;+\&quot; or \&quot;-\&quot; prefix indicates ascending or descending order. Example: \&quot;-created_at\&quot;, \&quot;subject\&quot;
     * @param {number} [page] Page number (1-based).
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    threadManagement(fields?: Array<string>, ids?: Array<string>, kinds?: Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>, q?: string, size?: number, sort?: string, page?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelImApiGatewayV1SearchThreadResponse>>;
};
/**
 * ThreadManagementApi - factory interface
 * @export
 */
export declare const ThreadManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Search threads with filters
     * @param {Array<string>} [fields] List of fields that should be returned in the response. If empty, a default set of fields is returned. Used for response optimization.
     * @param {Array<string>} [ids] Filter by specific thread IDs.
     * @param {Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>} [kinds] Filter threads by their kinds. UNKNOWN (0) is not allowed.   - UNKNOWN: Unknown or unspecified thread type. Must not be used in valid requests.  - DIRECT: One-to-one private thread between two users.  - GROUP: Group thread with multiple members.  - CHANNEL: Channel-style thread (broadcast or topic based communication).
     * @param {string} [q] Full-text search query. Typically applied to subject.
     * @param {number} [size] Maximum number of threads to return per page. Must be greater than 0 and less than or equal to 100.
     * @param {string} [sort] Sorting field. Optional \&quot;+\&quot; or \&quot;-\&quot; prefix indicates ascending or descending order. Example: \&quot;-created_at\&quot;, \&quot;subject\&quot;
     * @param {number} [page] Page number (1-based).
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    threadManagement(fields?: Array<string>, ids?: Array<string>, kinds?: Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>, q?: string, size?: number, sort?: string, page?: number, options?: any): AxiosPromise<WebitelImApiGatewayV1SearchThreadResponse>;
};
/**
 * ThreadManagementApi - object-oriented interface
 * @export
 * @class ThreadManagementApi
 * @extends {BaseAPI}
 */
export declare class ThreadManagementApi extends BaseAPI {
    /**
     *
     * @summary Search threads with filters
     * @param {Array<string>} [fields] List of fields that should be returned in the response. If empty, a default set of fields is returned. Used for response optimization.
     * @param {Array<string>} [ids] Filter by specific thread IDs.
     * @param {Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>} [kinds] Filter threads by their kinds. UNKNOWN (0) is not allowed.   - UNKNOWN: Unknown or unspecified thread type. Must not be used in valid requests.  - DIRECT: One-to-one private thread between two users.  - GROUP: Group thread with multiple members.  - CHANNEL: Channel-style thread (broadcast or topic based communication).
     * @param {string} [q] Full-text search query. Typically applied to subject.
     * @param {number} [size] Maximum number of threads to return per page. Must be greater than 0 and less than or equal to 100.
     * @param {string} [sort] Sorting field. Optional \&quot;+\&quot; or \&quot;-\&quot; prefix indicates ascending or descending order. Example: \&quot;-created_at\&quot;, \&quot;subject\&quot;
     * @param {number} [page] Page number (1-based).
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ThreadManagementApi
     */
    threadManagement(fields?: Array<string>, ids?: Array<string>, kinds?: Array<'UNKNOWN' | 'DIRECT' | 'GROUP' | 'CHANNEL'>, q?: string, size?: number, sort?: string, page?: number, options?: any): Promise<import("axios").AxiosResponse<WebitelImApiGatewayV1SearchThreadResponse, any, {}>>;
}
//# sourceMappingURL=thread-management-api.d.ts.map