import { ICompiler, IFragment, ISource, StreamRef, IPlaceholder, SelectStreamRef } from './Compiler'; /** * @category composable */ export declare type FilterParams = Record; /** * @category composable */ export declare class InputStreamRef extends StreamRef { protected _name: string; input: Input; get name(): string; constructor(input: Input); named(...names: string[]): this; compile(compiler: ICompiler): void; clone(): InputStreamRef; } /** * Represents an input (like a video file or a lavfi filter). * ```typescript * const input = new Input( 'path/to/file.mp4' ); * ``` * * Optionally can also receive an array of arguments to include before the input (for example, for seeking the media). * ```typescript * // Starts the input at the 1-minute mark. * const input = new Input( 'path/to/file.mp4', [ '-ss', 60 ] ); * ``` * * * @category composable */ export declare class Input implements ISource { url: string; index: number; options: (string | number | IPlaceholder)[]; outputs: InputStreamRef[]; get dependencies(): IFragment[]; constructor(url: string, options?: (string | number | IPlaceholder)[]); protected compileOptions(): string[]; compile(compiler: ICompiler): void; select(selector: string): SelectStreamRef; named(...names: string[]): this; clone(): Input; materialize(): string; [Symbol.iterator](): IterableIterator; static isStream(obj: any): obj is Input | InputStreamRef; static isStreamLike(obj: any): obj is Input | InputStreamRef | string; }