/** * RFC 9651 Structured Field Values parser. Internal use; not exported from * the public surface yet. Used by Cache-Status (RFC 9211), Repr-Digest / * Content-Digest (RFC 9530), and other SF-based headers. * * Implements parsers for the three top-level types: Item, List, Dictionary. * Returns null on parse failure (no exceptions in the hot path). */ export type SfBareItem = number | string | boolean | { token: string; } | Uint8Array; export type SfParams = Record; export type SfItem = { value: SfBareItem; params: SfParams; }; export type SfInnerList = { value: SfItem[]; params: SfParams; }; export type SfListMember = SfItem | SfInnerList; export type SfDict = Record; export declare function parseSfItem(input: string): SfItem | null; export declare function parseSfList(input: string): SfListMember[] | null; export declare function parseSfDict(input: string): SfDict | null;