/**
 * Represents a plugin payload.
 *
 * @template T - Type of the arguments.
 * @property {T} [arguments] - The arguments for the plugin.
 * @property {string} name - The name of the api payload
 * @property {any} settings - The settings for the plugin.
 * @property {any} [state] - The state of the current plugin message
 */
export interface PluginPayload<T = any> {
    arguments?: T;
    name: string;
    settings?: any;
    state?: any;
}
declare class LobeChat {
    getPluginPayload: <T = any>() => Promise<PluginPayload<T>>;
    getPluginSettings: <T = any>() => Promise<T>;
    setPluginSettings: (settings: any) => void;
    getPluginMessage: <T = any>() => Promise<T>;
    setPluginMessage: (content: any, triggerAiMessage?: boolean) => void;
    getPluginState: <T = any>(key: string) => Promise<T>;
    setPluginState: (key: string, value: any) => void;
    triggerAIMessage: (id: string) => void;
    createAssistantMessage: (content: string) => void;
}
export declare const lobeChat: LobeChat;
export {};
