import type { Document } from '@mongosh/service-provider-core'; import type Mongo from './mongo'; import { asPrintable } from './enums'; import { ShellApiWithMongoClass } from './decorators'; import type { Streams } from './streams'; import type { MQLPipeline } from './mql-types'; export type StreamProcessorData = Document & { name: string; }; export declare class StreamProcessor extends ShellApiWithMongoClass { private _streams; name: string; constructor(_streams: Streams, data: StreamProcessorData); get _mongo(): Mongo; [asPrintable](): Document | undefined; start(options?: Document): Promise; stop(options?: Document): Promise; drop(options?: Document): Promise; _drop(options?: Document): Promise; stats(options?: Document): Promise; modify(options: Document): Promise; modify(pipeline: MQLPipeline, options?: Document): Promise; sample(options?: Document): Promise; _sampleFrom(cursorId: number): Promise; } export default StreamProcessor;