UNPKG

@diffusionstudio/core-v4

Version:

2D motion graphics and video rendering engine

18 lines (17 loc) 690 B
import { Timestamp } from '../models'; import { Clip } from '../clips'; import { InsertStrategy } from './interfaces'; import { Layer } from './layer'; export declare class DefaultInsertStrategy implements InsertStrategy<'DEFAULT'> { mode: "DEFAULT"; private pauseEvents; add(clip: Clip, layer: Layer<Clip>): void; update(clip: Clip, layer: Layer<Clip>): void; offset(time: Timestamp, layer: Layer<Clip>): void; } export declare class SequentialInsertStrategy implements InsertStrategy<'SEQUENTIAL'> { mode: "SEQUENTIAL"; add(clip: Clip, layer: Layer<Clip>, index?: number | undefined): void; update(_: Clip, layer: Layer<Clip>): void; offset(): void; }