export declare enum ResourceType { Image = "image", Video = "video", Gif = "gif" } interface ResourceSizeV0 { mimeType: string; sourceUrl: string; width: number | string; height: number | string; } interface SizeV0 { width: string | number; height: string | number; source_url: string; } export interface ResourceV0 { type: ResourceType; mimeType: string; src: string; width: number | string; height: number | string; sizes?: Record; title?: string; baseColor?: number[]; local?: boolean; isTrimming?: boolean; isTranscoding?: boolean; isMuting?: boolean; } export interface ImageResourceV0 extends ResourceV0 { type: ResourceType.Image; } export interface VideoResourceV0 extends ResourceV0 { poster?: string; posterId?: number; videoId?: number; type: ResourceType.Video; } interface OutputV0 { mimeType: string; src: string; poster?: string; sizes?: { [key: string]: ResourceSizeV0; }; } export interface GifResourceV0 extends ResourceV0 { type: ResourceType.Gif; output: OutputV0; isTrimming?: boolean; isTranscoding?: boolean; isMuting?: boolean; title: string; alt: string; } export {}; //# sourceMappingURL=resource.d.ts.map