import { Conversation as BotpressConversation } from '@botpress/client';
import { BotClient } from '@botpress/sdk/dist/bot';
import { ConversationDefinitions } from '../_types/conversations';
type Channels = keyof ConversationDefinitions;
/**
 * Base class for conversation instances at runtime.
 * Unlike the Conversation definition, this represents a specific active conversation
 * bound to a single channel.
 */
export declare class BaseConversationInstance<TChannel extends Channels = Channels> {
    readonly id: string;
    readonly channel: TChannel;
    readonly integration: string;
    readonly tags: ConversationDefinitions[TChannel]['tags'];
    readonly conversation: BotpressConversation;
    constructor(conversation: BotpressConversation, client: BotClient<any>);
    /**
     * Send a message to this conversation
     */
    send<M extends keyof ConversationDefinitions[TChannel]['messages']>(message: {
        type: M;
        payload: ConversationDefinitions[TChannel]['messages'][M];
    }): Promise<void>;
    /**
     * Start typing indicator
     */
    startTyping(): Promise<void>;
    /**
     * Stop typing indicator
     */
    stopTyping(): Promise<void>;
    /**
     * Subscribe to a trigger
     */
    subscribeToTrigger(triggerName: string, key?: string): Promise<void>;
    /**
     * Unsubscribe from a trigger
     */
    unsubscribeFromTrigger(triggerName: string, key?: string): Promise<void>;
}
export {};
//# sourceMappingURL=conversation-instance.d.ts.map