export declare const SCOPE_LIMIT_BYTES: number; export declare const VALUE_LIMIT_BYTES: number; export declare const KEY_LIMIT_BYTES = 1024; export declare const TTL_MAX_SECONDS: number; export declare const MGET_LIMIT = 100; export declare const VALID_KEY: RegExp; export declare function validateKey(key: string): void; export declare function validateTtl(ttl: number): void; /** * JSON-encode a value for storage, converting every serialization * failure into the library's typed error. `JSON.stringify` returns * the VALUE `undefined` (not a string) for top-level `undefined`, * functions, and symbols, and throws natively for circular * structures and `BigInt` — none of which may escape as a bare * `TypeError` (the error contract promises `GuueyStateError` * subclasses from every failable operation). */ export declare function encodeValue(key: string, value: unknown): string; //# sourceMappingURL=validate.d.ts.map