UNPKG

@diffusionstudio/core-v4

Version:

A fast, browser based video compositing engine powered by WebCodecs

23 lines (22 loc) 688 B
import { BaseSource } from '../source'; declare const ImageSource_base: { new (...args: any[]): { height: import('../..').int; width: import('../..').int; get aspectRatio(): number; id: string; mimeType: string; input: import('../..').MediaInput; name: string; createdAt: string; init(): Promise<void>; arrayBuffer(): Promise<ArrayBuffer>; toJSON(): string; fromJSON<K = {}>(obj: K extends string ? never : K): /*elided*/ any; }; } & typeof BaseSource; export declare class ImageSource extends ImageSource_base { element: HTMLImageElement; init(): Promise<void>; } export {};