import { Subject } from 'rxjs'; import { RxCollection, RxPlugin } from 'rxdb'; import { RxDatabaseBase } from 'rxdb/dist/types/rx-database'; type CollectionRecord = Record; export type RxDatabaseBaseExtended = RxDatabaseBase & { newCollections$?: Subject; }; /** * Extends RxDB prototype with a newCollections$ property: a stream emitting any * new collections added via addCollections(). */ export declare const observeNewCollections: RxPlugin; export {};