/**
 * Returns encodeV8, decodeV8 functions that support V8-compatible serialization for limited set of types (strings, null, undefined, boolean).
 *
 * Consider using JSON.parse/stringify to marshall values to save when using this serializer.
 *
 * All other values will throw during encode/decode.
 */
export declare function makeLimitedV8Serializer(): {
    encodeV8: typeof encodeV8;
    decodeV8: typeof decodeV8;
};
export declare function decodeV8(bytes: Uint8Array, { wrapUnknownValues }?: {
    wrapUnknownValues?: boolean;
}): unknown;
export declare function encodeV8(value: unknown): Uint8Array;
/** Raw V8-serialized bytes */
export declare class UnknownV8 {
    readonly bytes: Uint8Array;
    constructor(bytes: Uint8Array);
}
