type AsRef = { $$valtioRef: true; }; type Path = (string | symbol)[]; type Op = [op: "set", path: Path, value: unknown, prevValue: unknown] | [op: "delete", path: Path, prevValue: unknown]; export type Snapshot = T; export declare function proxy(initialObject?: T): T; export declare function getVersion(proxyObject: unknown): number | undefined; export declare function subscribe(proxyObject: T, callback: (ops: Op[]) => void, notifyInSync?: boolean): () => void; export declare function snapshot(proxyObject: T): T; export declare function ref(obj: T): Ref; export type Ref = T & AsRef; export {};