export interface IModel { _id?: IDType; _rev?: string; _deleted?: boolean; $timestamp?: number; $collectionType?: string; /** * Will automatically be filled with PouchORM.userId on upserts */ $by?: string; } export declare enum CollectionState { NEW = 0, LOADING = 1, READY = 2 } export declare enum ClassValidate { OFF = 0, ON = 1, ON_AND_LOG = 2, ON_AND_REJECT = 3 } export declare abstract class PouchModel implements IModel { constructor(item: T); _id?: IDType; _rev?: string; _deleted?: boolean; $timestamp?: number; $collectionType?: string; /** * Will automatically be filled with PouchORM.userId on upserts */ $by?: string; } export type SyncResult = PouchDB.Replication.SyncResult; export type Sync = PouchDB.Replication.Sync;