import { SessionRevisionsMetadataOptions } from "./IRevisionsSessionOperations"; import { DocumentType } from "../DocumentAbstractions"; import { Lazy } from "../Lazy"; import { MetadataAsDictionary } from "../../Mapping/MetadataAsDictionary"; import { RevisionsCollectionObject } from "../../Types"; export interface ILazyRevisionsOperations { getFor(id: string): Lazy; getFor(id: string, options: LazySessionRevisionsOptions): Lazy; getMetadataFor(id: string): Lazy; getMetadataFor(id: string, options: SessionRevisionsMetadataOptions): Lazy; get(id: string, date: Date): Lazy; get(changeVector: string): Lazy; get(changeVector: string, documentType: DocumentType): Lazy; get(changeVectors: string[]): Lazy>; get(changeVectors: string[], documentType: DocumentType): Lazy>; } export interface LazySessionRevisionsOptions { start?: number; pageSize?: number; documentType?: DocumentType; } export interface LazySessionRevisionsMetadataOptions { start?: number; pageSize?: number; }