@diffusionstudio/core-v4
Version:
2D motion graphics and video rendering engine
10 lines (9 loc) • 328 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(data: BaseSource): clips.AudioClip | clips.HtmlClip | clips.ImageClip | undefined;
}