export type MutationState = 'not_attempted' | 'unknown' | 'confirmed_failed'; export interface OperationErrorDetails { code: string; operation: string; endpoint: string; httpStatus?: number; requestId?: string; retryable: boolean; mutationState: MutationState; contentType?: string; } export declare class DuctapeOperationError extends Error { readonly details: OperationErrorDetails; constructor(message: string, details: OperationErrorDetails, options?: ErrorOptions); toJSON(): Record; } export declare function safeEndpoint(value: string): string;