import type { OperationType } from "./types"; export declare class PublicError extends Error { readonly cause: unknown; constructor(message?: string, cause?: unknown); static isPublicError: (error: unknown) => boolean; } export declare class OperationExecutionError extends Error { readonly cause: unknown; readonly simpleMessage: string; readonly operationType: OperationType; readonly operation: unknown; readonly context: unknown; constructor(operation: unknown, context: unknown, operationType: OperationType, message?: string, cause?: unknown); sameContent(operation: unknown, context: unknown, operationType: OperationType): boolean; static stringifyContext: (context: unknown, operationType: OperationType) => string; static stringifyOperation: (operation: unknown, operationType: OperationType) => string; static createErrorMessage: typeof _createOperationExecutionErrorMessage; } declare function _createOperationExecutionErrorMessage(operation: unknown, context: unknown, operationType: OperationType, message?: string, cause?: unknown): string; export {};