import type { Message, Part } from "@opencode-ai/sdk";
import type { PluginContext } from "./types.js";
type MessageWithParts = {
    info: Message & {
        sessionID?: string;
    };
    parts: Part[];
};
export declare function createMessagesTransformHandler(ctx: PluginContext): (_input: Record<string, never>, output: {
    messages: MessageWithParts[];
}) => Promise<void>;
export {};
