import { StorageScope } from "./Storage.types"; export declare const MIGRATION_VERSION_KEY = "__nitro_storage_migration_version__"; export declare const ESCAPE_PREFIX = "__nitro_storage_escaped__:"; export declare function escapeCollidingRawValue(value: string): string; export declare function unescapeCollidingRawValue(value: string): string; export type StoredEnvelope = { __nitroStorageEnvelope: true; expiresAt: number; payload: string; }; export declare function isStoredEnvelope(value: unknown): value is StoredEnvelope; export declare function assertValidScope(scope: StorageScope): void; export type ScopedBatchItem = { key: string; scope: StorageScope; }; export declare function assertBatchScope(items: readonly ScopedBatchItem[], scope: StorageScope): void; export declare function prefixKey(namespace: string | undefined, key: string): string; export declare function isNamespaced(key: string, namespace: string): boolean; export declare function serializeWithPrimitiveFastPath(value: T): string; export declare function deserializeWithPrimitiveFastPath(value: string): T; export declare function toVersionToken(raw: unknown): string; //# sourceMappingURL=internal.d.ts.map