import { IDocumentStore } from "../IDocumentStore"; import { TimeValue } from "../../Primitives/TimeValue"; import { ClassConstructor } from "../../Types"; import { DocumentConventions } from "../Conventions/DocumentConventions"; export declare class TimeSeriesOperations { private readonly _store; private readonly _database; private readonly _executor; constructor(store: IDocumentStore); constructor(store: IDocumentStore, database: string); register(collectionClass: ClassConstructor, timeSeriesEntryClass: ClassConstructor): Promise; register(collectionClass: ClassConstructor, timeSeriesEntryClass: ClassConstructor, name: string): Promise; register(collectionClass: ClassConstructor, name: string, valueNames: string[]): Promise; register(collection: string, name: string, valueNames: string[]): Promise; private _registerInternal; setPolicy(collectionClass: ClassConstructor, name: string, aggregation: TimeValue, retention: TimeValue): Promise; setPolicy(collection: string, name: string, aggregation: TimeValue, retention: TimeValue): Promise; setRawPolicy(collectionClass: ClassConstructor, retention: TimeValue): Promise; setRawPolicy(collection: string, retention: TimeValue): Promise; removePolicy(collection: string, name: string): Promise; removePolicy(clazz: ClassConstructor, name: string): Promise; static getTimeSeriesName(clazz: ClassConstructor, conventions: DocumentConventions): string; forDatabase(database: string): TimeSeriesOperations; }