import type { FixLenHexString, HexString, Int64_str, ParsedCredential, Uint8_t, Uint16_t, Uint32_t, Uint64_str, ParsedAnchor } from '../types/internal'; export declare function uint8_to_buf(value: Uint8_t): Buffer; export declare function uint16_to_buf(value: Uint16_t | Uint8_t): Buffer; export declare function buf_to_uint16(data: Buffer): Uint16_t; export declare function uint32_to_buf(value: Uint32_t | Uint16_t | Uint8_t): Buffer; export declare function buf_to_uint32(data: Buffer): Uint32_t; export declare function uint64_to_buf(value: Uint64_str): Buffer; export declare function uint64Number_to_buf(value: number): Buffer; export declare function int64_to_buf(value: Int64_str): Buffer; export declare function hex_to_buf(data: HexString | FixLenHexString): Buffer; export declare function buf_to_hex(data: Buffer): string; export declare function path_to_buf(path: Array): Buffer; export declare function serializeOptionFlag(included: boolean): Buffer; export declare function serializeCoin(coin: Uint64_str): Buffer; export declare function serializeCredential(credential: ParsedCredential): Buffer; export declare function serializeAnchor(anchor: ParsedAnchor | null): Buffer; //# sourceMappingURL=serialize.d.ts.map