export interface ErrorResponse { type: "error"; data: ErrorResponse.Data; } export declare namespace ErrorResponse { interface Data { message: string; /** Optional error code for programmatic error handling */ code?: number | undefined; /** Additional error details and context information */ details?: Record | undefined; /** Unique identifier for the request */ request_id?: string | undefined; } }