export type ToolResponse = { success: true; [key: string]: unknown; } | { success: false; error: { code: string; message: string; hint?: string; }; [key: string]: unknown; }; export declare function ok(extra?: Record): ToolResponse; export declare function err(code: string, message: string, hint?: string): ToolResponse; //# sourceMappingURL=types.d.ts.map