import { DocumentSnapshot } from "@firebase/firestore"; import { CMSType, PropertyConfig } from "@firecms/core"; import { PersistedCollection } from "@firecms/collection_editor"; export declare function buildCollectionId(idOrPath: string, parentCollectionIds?: string[]): string; export declare function setUndefinedToDelete(data: any): any; export declare const docsToCollectionTree: (docs: DocumentSnapshot[]) => PersistedCollection[]; export declare const docToCollection: (doc: DocumentSnapshot) => PersistedCollection; export declare function prepareCollectionForPersistence(collection: Partial>, propertyConfigs: Record): Partial;