import type { DocMetadata } from '@magnetarjs/types';
import type { FirestoreModuleConfig } from '@magnetarjs/utils-firestore';
import type { DocumentSnapshot, Firestore, Query, QueryDocumentSnapshot } from 'firebase/firestore';
/**
 * If the collectionPath includes a `*` it will use a collectionQuery for the part beyond that point
 */
export declare function getQueryInstance(collectionPath: string, config: FirestoreModuleConfig, db: Firestore, debug: boolean): Query;
export declare function docSnapshotToDocMetadata(docSnapshot: DocumentSnapshot<{
    [key: string]: unknown;
}> | QueryDocumentSnapshot<{
    [key: string]: unknown;
}>): DocMetadata;
