import type { Uint8ArrayList } from 'uint8arraylist';
export declare function encodingLength(value: number): number;
export declare function encodeUint8Array<T extends ArrayBufferLike>(value: number, buf: Uint8Array<T>, offset?: number): Uint8Array<T>;
export declare function encodeUint8ArrayList<T extends ArrayBufferLike>(value: number, buf: Uint8ArrayList<T>, offset?: number): Uint8ArrayList<T>;
export declare function decodeUint8Array(buf: Uint8Array, offset: number): number;
export declare function decodeUint8ArrayList(buf: Uint8ArrayList, offset: number): number;
export declare function encode(value: number): Uint8Array<ArrayBuffer>;
export declare function encode<T extends ArrayBufferLike>(value: number, buf: Uint8Array<T>, offset?: number): Uint8Array<T>;
export declare function encode<T extends ArrayBufferLike>(value: number, buf: Uint8ArrayList<T>, offset?: number): Uint8ArrayList<T>;
export declare function decode(buf: Uint8ArrayList | Uint8Array, offset?: number): number;
//# sourceMappingURL=index.d.ts.map