import type { EncodeOptions, DecodeOptions } from './options.js'; export { UnexpectedEofError as UnexpectedEof } from './helper/errors.js'; export type { EncodeOptions, DecodeOptions }; /** 编码为 UBJSON */ export declare function encode(value: unknown, options?: EncodeOptions): Uint8Array; /** 编码为 UBJSON */ export declare function encodeMany(value: Iterable, options?: EncodeOptions): Uint8Array; /** 解码 UBJSON */ export declare function decode(value: BufferSource, options?: DecodeOptions): unknown; /** 解码 UBJSON */ export declare function decodeMany(value: BufferSource, options?: DecodeOptions): Iterable; //# sourceMappingURL=index.d.ts.map