import type { RxCollection, ReplicationPullOptions, ReplicationPushOptions } from '../../types/index.d.ts'; import { RxReplicationState } from '../replication/index.ts'; import type { CouchDBCheckpointType, FetchMethodType, SyncOptionsCouchDB } from './couchdb-types.ts'; export * from './couchdb-helper.ts'; export * from './couchdb-types.ts'; export declare class RxCouchDBReplicationState extends RxReplicationState { readonly url: string; fetch: FetchMethodType; readonly replicationIdentifier: string; readonly collection: RxCollection; readonly pull?: ReplicationPullOptions | undefined; readonly push?: ReplicationPushOptions | undefined; readonly live: boolean; retryTime: number; autoStart: boolean; constructor(url: string, fetch: FetchMethodType, replicationIdentifier: string, collection: RxCollection, pull?: ReplicationPullOptions | undefined, push?: ReplicationPushOptions | undefined, live?: boolean, retryTime?: number, autoStart?: boolean); } export declare function replicateCouchDB(options: SyncOptionsCouchDB): RxCouchDBReplicationState;