type MessageInfo = { info: { role: string; [key: string]: unknown; }; parts: Array<{ type: string; text?: string; output?: string; tool?: string; [key: string]: unknown; }>; }; export declare function createMessageTransformHook(): (_input: Record, output: { messages: MessageInfo[]; }) => Promise; export {};