import type { Document } from 'bson'; import { ShellApiWithMongoClass } from './decorators'; import type { StreamProcessorData } from './stream-processor'; import StreamProcessor from './stream-processor'; import { asPrintable } from './enums'; import type { Database, DatabaseWithSchema } from './database'; import type Mongo from './mongo'; import type { GenericDatabaseSchema, GenericServerSideSchema } from './helpers'; import type { MQLPipeline } from './mql-types'; type WorkspaceDefaults = { defaultTierSize: string; maxTierSize: string; }; export declare class Streams extends ShellApiWithMongoClass { static newInstance(database: DatabaseWithSchema): Streams; private _database; constructor(database: DatabaseWithSchema | Database); get _mongo(): Mongo; [asPrintable](): string; getProcessor(data: StreamProcessorData): StreamProcessor; process(pipeline: MQLPipeline, options?: Document): Promise; createStreamProcessor(name: string, pipeline: MQLPipeline, options?: Document): Promise; listStreamProcessors(filter: Document): Promise; listConnections(filter: Document): Promise; listWorkspaceDefaults(): Promise; _runStreamCommand(cmd: Document, options?: Document): Promise; } export {};