UNPKG

@diffusionstudio/core-v4

Version:

A fast, browser based video compositing engine powered by WebCodecs

12 lines (11 loc) 521 B
interface Deserializer { fromJSON?: (obj: any) => any; } export declare class Serializer { toJSON(exclude?: string[]): unknown; fromJSON<K = {}>(obj: K extends string ? never : K): this; static fromJSON<T extends Serializer, K = {}>(this: new () => T, obj: K extends string ? never : K): T; } export declare function serializable(deserializer?: Deserializer, mapTo?: string): (target: any, propertyKey: string) => void; export declare function displayName(name: string): (target: any) => void; export {};