/** * Error translation: map thrown errors → WsKitError. * Used by dispatch to ensure all errors are normalized. */ import { WsKitError } from "./error.js"; import type { ErrorCode } from "./codes.js"; export declare function translateError(err: unknown, defaultCode?: ErrorCode): WsKitError; //# sourceMappingURL=translate.d.ts.map