export interface StructuredError { code: string; message: string; step?: string; hint?: string; docsUrl?: string; } export declare class AgentOperationError extends Error { readonly code: string; readonly step?: string; readonly hint?: string; readonly docsUrl?: string; constructor(err: StructuredError); toStructured(): StructuredError; }