@diffusionstudio/core-v4
Version:
A fast, browser based video compositing engine powered by WebCodecs
10 lines (9 loc) • 321 B
TypeScript
import { BaseSource } from '../../sources';
import { ClipType } from './types';
import * as clips from '..';
export declare class ClipDeserializer {
static fromType(data: {
type: ClipType;
}): clips.Clip;
static fromSource(source: BaseSource): clips.AudioClip | clips.ImageClip | clips.CaptionClip;
}