import { SanityDocument } from '@sanity/types'; import { Observable } from 'rxjs'; import { IdPair, Mutation, PendingMutationsEvent } from '../types'; export interface DocumentVersionSnapshots { snapshots$: Observable; patch: (patches: any) => Mutation[]; create: (document: any) => Mutation; createIfNotExists: (document: any) => Mutation; createOrReplace: (document: any) => Mutation; delete: () => Mutation; mutate: (mutations: Mutation[]) => void; commit: () => void; } interface SnapshotPair { transactionsPendingEvents$: Observable; draft: DocumentVersionSnapshots; published: DocumentVersionSnapshots; } export declare const snapshotPair: (arg1: IdPair, arg2: string) => Observable; export {}; //# sourceMappingURL=snapshotPair.d.ts.map