import type { PluginContext } from "./types.js";
type ChatMessageOutput = {
    parts?: Array<{
        type: string;
        text?: string;
        [key: string]: unknown;
    }>;
};
export declare function createChatMessageHandler(ctx: PluginContext): (input: {
    sessionID: string;
    agent?: string;
}, output?: ChatMessageOutput) => Promise<void>;
export {};
