export type NativeSnapshotProvider = 'e2b' | 'modal_snapshot_directory' | 'modal_snapshot_filesystem' | 'vercel'; export type NativeSnapshotRef = { provider: NativeSnapshotProvider; snapshotId: string; workspacePersistence?: string; }; export declare function encodeNativeSnapshotRef(ref: NativeSnapshotRef): Uint8Array; export declare function decodeNativeSnapshotRef(data: string | ArrayBuffer | Uint8Array): NativeSnapshotRef | undefined; export declare function requireNativeSnapshotRef(data: string | ArrayBuffer | Uint8Array, provider: NativeSnapshotProvider): NativeSnapshotRef;