import { CacheUpdateOptions, Document, StaticSWRConfig } from '../types'; import { DocumentReference } from '@lemasc/firebase-wrapper/firestore'; export declare const getKeysFromCache: (path: string) => string[]; /** * Set or updates the document from the cache. */ export declare const mutateDocFromCollection: , Doc extends Document = Document>(ref: DocumentReference, data: Data, { mutate, ...options }: StaticSWRConfig & CacheUpdateOptions) => void; /** * Removes the document from the cache. */ export declare const deleteDocFromCollection: , Doc extends Document = Document>(ref: DocumentReference, { mutate }: StaticSWRConfig) => void;