import { BaseProperty, BaseRecord, BaseResource, Filter } from 'admin-bro'; import { ParamsType } from 'admin-bro/types/src/backend/adapters/base-record'; declare class FirestoreResource extends BaseResource { private static DB_TYPE; private static DEFAULT_RECORDS_LIMIT; private static DEFAULT_SORTING_DIRECTION; private readonly collectionId; private readonly schema; private baseResourceFactory; private repository; constructor({ collection, schema }: { collection: any; schema: any; }); static isAdapterFor(resource: any): boolean; id(): string; databaseName(): string; databaseType(): string; name(): string; properties(): BaseProperty[]; property(path: any): BaseProperty | null; count(): Promise; find(filter: Filter, options: { limit?: number; offset?: number; sort?: { sortBy?: string; direction?: 'asc' | 'desc'; }; }): Promise; findMany(): Promise>; findOne(id: string): Promise; update(id: string, updateData: Record): Promise; create(params: Record): Promise; delete(id: string): Promise; private toBaseRecord; populate(records: BaseRecord[]): Promise; } export default FirestoreResource;