export type ErrorCode = 'BOOT_ERROR' | 'INVALID_ARG' | 'INVALID_JSON' | 'MISSING_DEPENDENCY' | 'DAEMON_NOT_RUNNING' | 'DAEMON_ALREADY_RUNNING' | 'DAEMON_TIMEOUT' | 'SESSION_NOT_FOUND' | 'PAGE_NOT_FOUND' | 'BROWSER_LAUNCH_FAILED' | 'LICENSE_ERROR' | 'NAVIGATION_FAILED' | 'TIMEOUT' | 'SELECTOR_NOT_FOUND' | 'EVAL_FAILED' | 'NETWORK_ERROR' | 'IO_ERROR' | 'NOT_IMPLEMENTED' | 'UNSUPPORTED_OPERATION' | 'INTERNAL_ERROR'; export declare class CloakError extends Error { readonly code: ErrorCode; readonly details?: Record; constructor(code: ErrorCode, message: string, details?: Record); toJSON(): { code: ErrorCode; message: string; details?: Record; }; } export declare function fromUnknown(err: unknown): CloakError; //# sourceMappingURL=errors.d.ts.map