/** * Get a cached proxy for the given root and path. * * @param root - The root object * @param pathKey - The path key (from pathKeyOf) * @returns The cached proxy, or undefined if not cached */ export declare const getCached: (root: object, pathKey: string) => any | undefined; /** * Store a proxy in the cache for the given root and path. * * @param root - The root object * @param pathKey - The path key (from pathKeyOf) * @param proxy - The proxy to cache */ export declare const setCached: (root: object, pathKey: string, proxy: any) => void; /** * Invalidate cached proxies at and below the given base path. * Optionally also invalidates the parent path (for array shrinkage). * * @param root - The root object * @param basePath - The base path to invalidate * @param alsoParentArray - Whether to also invalidate the parent path */ export declare const invalidateAt: (root: object, basePath: string[], alsoParentArray?: boolean) => void; /** * Clear all cached proxies for the given root. * * @param root - The root object */ export declare const clear: (root: object) => void; //# sourceMappingURL=proxy-cache.d.ts.map