/**
 * 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 { WebitelImApiGatewayV1SearchMessageHistoryResponse } from '../api';
/**
 * MessageHistoryApi - axios parameter creator
 * @export
 */
export declare const MessageHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Searches messages within a specific thread. Supports cursor-based pagination and field selection.
     * @param {string} threadId Filter by thread IDs.
     * @param {Array<string>} [fields] List of message fields to be returned. Used to reduce payload size.
     * @param {Array<string>} [ids] Filter by specific message IDs.
     * @param {Array<string>} [senderIds] Filter messages by sender user IDs.
     * @param {Array<number>} [types] Filter messages by message types.
     * @param {string} [cursorCreatedAt] Message creation timestamp (Unix time, microseconds).
     * @param {string} [cursorId] Unique message identifier.
     * @param {boolean} [cursorDirection] Pagination direction. true - backward (older messages). false - forward (newer messages).
     * @param {number} [size] Maximum number of messages to return.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchThreadMessagesHistory: (threadId: string, fields?: Array<string>, ids?: Array<string>, senderIds?: Array<string>, types?: Array<number>, cursorCreatedAt?: string, cursorId?: string, cursorDirection?: boolean, size?: number, options?: any) => Promise<RequestArgs>;
};
/**
 * MessageHistoryApi - functional programming interface
 * @export
 */
export declare const MessageHistoryApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Searches messages within a specific thread. Supports cursor-based pagination and field selection.
     * @param {string} threadId Filter by thread IDs.
     * @param {Array<string>} [fields] List of message fields to be returned. Used to reduce payload size.
     * @param {Array<string>} [ids] Filter by specific message IDs.
     * @param {Array<string>} [senderIds] Filter messages by sender user IDs.
     * @param {Array<number>} [types] Filter messages by message types.
     * @param {string} [cursorCreatedAt] Message creation timestamp (Unix time, microseconds).
     * @param {string} [cursorId] Unique message identifier.
     * @param {boolean} [cursorDirection] Pagination direction. true - backward (older messages). false - forward (newer messages).
     * @param {number} [size] Maximum number of messages to return.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchThreadMessagesHistory(threadId: string, fields?: Array<string>, ids?: Array<string>, senderIds?: Array<string>, types?: Array<number>, cursorCreatedAt?: string, cursorId?: string, cursorDirection?: boolean, size?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelImApiGatewayV1SearchMessageHistoryResponse>>;
};
/**
 * MessageHistoryApi - factory interface
 * @export
 */
export declare const MessageHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Searches messages within a specific thread. Supports cursor-based pagination and field selection.
     * @param {string} threadId Filter by thread IDs.
     * @param {Array<string>} [fields] List of message fields to be returned. Used to reduce payload size.
     * @param {Array<string>} [ids] Filter by specific message IDs.
     * @param {Array<string>} [senderIds] Filter messages by sender user IDs.
     * @param {Array<number>} [types] Filter messages by message types.
     * @param {string} [cursorCreatedAt] Message creation timestamp (Unix time, microseconds).
     * @param {string} [cursorId] Unique message identifier.
     * @param {boolean} [cursorDirection] Pagination direction. true - backward (older messages). false - forward (newer messages).
     * @param {number} [size] Maximum number of messages to return.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchThreadMessagesHistory(threadId: string, fields?: Array<string>, ids?: Array<string>, senderIds?: Array<string>, types?: Array<number>, cursorCreatedAt?: string, cursorId?: string, cursorDirection?: boolean, size?: number, options?: any): AxiosPromise<WebitelImApiGatewayV1SearchMessageHistoryResponse>;
};
/**
 * MessageHistoryApi - object-oriented interface
 * @export
 * @class MessageHistoryApi
 * @extends {BaseAPI}
 */
export declare class MessageHistoryApi extends BaseAPI {
    /**
     *
     * @summary Searches messages within a specific thread. Supports cursor-based pagination and field selection.
     * @param {string} threadId Filter by thread IDs.
     * @param {Array<string>} [fields] List of message fields to be returned. Used to reduce payload size.
     * @param {Array<string>} [ids] Filter by specific message IDs.
     * @param {Array<string>} [senderIds] Filter messages by sender user IDs.
     * @param {Array<number>} [types] Filter messages by message types.
     * @param {string} [cursorCreatedAt] Message creation timestamp (Unix time, microseconds).
     * @param {string} [cursorId] Unique message identifier.
     * @param {boolean} [cursorDirection] Pagination direction. true - backward (older messages). false - forward (newer messages).
     * @param {number} [size] Maximum number of messages to return.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MessageHistoryApi
     */
    searchThreadMessagesHistory(threadId: string, fields?: Array<string>, ids?: Array<string>, senderIds?: Array<string>, types?: Array<number>, cursorCreatedAt?: string, cursorId?: string, cursorDirection?: boolean, size?: number, options?: any): Promise<import("axios").AxiosResponse<WebitelImApiGatewayV1SearchMessageHistoryResponse, any, {}>>;
}
//# sourceMappingURL=message-history-api.d.ts.map