/// import { EventEmitter } from 'events'; import { OpenCLBuffer } from 'nodencl'; import { RedioPipe, RedioEnd } from 'redioactive'; import { Frame } from 'beamcoder'; import { Producer } from './producer/producer'; export declare class Layer { private readonly endEvent; private mixerParams; private background; private foreground; private channelUpdate; private autoPlay; constructor(); load(producer: Producer, preview: boolean, autoPlay: boolean, channelUpdate: () => void): Promise; play(): Promise; pause(): void; resume(): void; stop(): Promise; anchor(params: string[]): void; rotation(params: string[]): void; fill(params: string[]): void; volume(params: string[]): void; getAudioPipe(): RedioPipe | undefined; getVideoPipe(): RedioPipe | undefined; getEndEvent(): EventEmitter; }