import { MessageContent } from '../../generated/yandex/cloud/ai/assistants/v1/threads/message';
import { CreateMessageRequest, GetMessageRequest, ListMessagesRequest } from '../../generated/yandex/cloud/ai/assistants/v1/threads/message_service';
import { ClientCallArgs, SessionArg, TypeFromProtoc } from '../types';
export type SendMessageProps = TypeFromProtoc<CreateMessageRequest, 'threadId'>;
export type GetMessageProps = TypeFromProtoc<GetMessageRequest, 'threadId' | 'messageId'>;
export type ListMessagesProps = TypeFromProtoc<ListMessagesRequest, 'threadId'>;
export declare class MessageSdk {
    private messageClient;
    static ENDPOINT: string;
    constructor(session: SessionArg, endpoint?: string);
    static getMessageContent(...args: string[]): TypeFromProtoc<MessageContent>;
    static messageContentToString(messageContent?: MessageContent): string;
    send(params: SendMessageProps, args?: ClientCallArgs): Promise<import("../../generated/yandex/cloud/ai/assistants/v1/threads/message").Message>;
    get(params: GetMessageProps, args?: ClientCallArgs): Promise<import("../../generated/yandex/cloud/ai/assistants/v1/threads/message").Message>;
    list(params: ListMessagesProps, args?: ClientCallArgs): AsyncIterable<import("../../generated/yandex/cloud/ai/assistants/v1/threads/message").Message>;
}
export declare const initMessageSdk: (session: SessionArg, endpoint?: string) => MessageSdk;
