export declare const toTextResult: (text: string, structuredContent?: Record) => { structuredContent?: Record | undefined; content: { type: "text"; text: string; }[]; }; export declare const toErrorResult: (error: unknown) => { content: { type: "text"; text: string; }[]; isError: boolean; };