/** * Shared channel error codes and a typed error class. */ import type { ChannelErrorCode } from "./types.js"; export declare const CHANNEL_ERROR_CODES: readonly ChannelErrorCode[]; /** Typed channel failure with a stable machine-readable code. */ export declare class ChannelError extends Error { readonly code: ChannelErrorCode; constructor(code: ChannelErrorCode, message: string); } //# sourceMappingURL=errors.d.ts.map