import type { FrameDecodeErrorCode } from "../frame.ts"; /** * Malformed frame vectors: adversarial byte sequences that MUST be rejected, * each paired with the exact {@link FrameDecodeErrorCode} the decoder must * raise. A shared prose spec does not stop divergence — shared adversarial * vectors do. Both this decoder and the c8ctl client are held to these. */ export interface MalformedFrame { readonly name: string; /** The raw bytes to feed the decoder, as a lowercase hex string (may be ""). */ readonly hex: string; readonly expected: FrameDecodeErrorCode; } export declare const MALFORMED_FRAMES: readonly MalformedFrame[];