import type { ProcessorOptions, Track, TrackProcessor } from 'livekit-client'; import type { EffectInput } from './kaleidoscope/effect.types'; export { setMaskTuning } from '../web-driver/tuning'; export type { MaskInput } from './kaleidoscope/types'; /** * A LiveKit `TrackProcessor` that applies Kaleidoscope video effects to a local * camera track. Construct it with the same effect inputs `applyVideoEffects` * accepts (bare transform names like `'flip-x'`, or full `EffectSpec` composite * objects), then pass it to `localTrack.setProcessor(processor)`. * * `restart` (camera flip / source change) and `destroy` (unpublish) tear down * the prior Insertable-Streams pipeline, so repeated flips do not leak * generators. The page-shared segmenter and WebGL state are module singletons * reused across pipelines, so they are intentionally retained. */ export declare class KaleidoscopeProcessor implements TrackProcessor { readonly name = "kaleidoscope"; processedTrack?: MediaStreamTrack; private readonly effects; private disposePipeline; constructor(effects: ReadonlyArray); init(opts: ProcessorOptions): Promise; restart(opts: ProcessorOptions): Promise; destroy(): Promise; } //# sourceMappingURL=livekit.d.ts.map