import { ZeroHexString } from '@hazae41/hexane'; import { TextCursor } from '../../libs/cursor/cursor.js'; interface Decodable { decodeOrThrow(text: TextCursor): T; } declare function decodeOrThrow(decodable: Decodable, hex: ZeroHexString): T; export { decodeOrThrow }; export type { Decodable };