import { Serializer } from '../../services'; import { Asset, MediaInput } from '../../types'; export type SourceOptions = { input: MediaInput; mimeType: string; name?: string; }; export declare class BaseSource extends Serializer implements Asset { /** * Unique identifier of the source */ id: string; mimeType: string; input: MediaInput; name: string; createdAt: string; constructor(options: SourceOptions); init(): Promise; /** * Get the source as an array buffer */ arrayBuffer(): Promise; toJSON(): string; }