import { implToBase64, implToBuffer, implToDisk, type Audio } from '../../../implementation/index.js'; import { type Client } from '../../../services/index.js'; import type { V2vModel } from '../V2vModel.js'; import { type V2vInferenceStatusDoneSchema } from '../v2vModel.schema.js'; export declare class V2vAudioFile implements Audio { constructor(client: Client, data: V2vInferenceStatusDoneSchema); readonly client: Client; readonly resourceUrl: string; readonly jobToken: string; readonly requestInferenceCategory: string; readonly requestMaybeModelType: string | null; readonly requestMaybeModelToken: string | null; readonly requestMaybeModelTitle: string | null; readonly requestMaybeRawInferenceText: string | null; readonly statusMaybeExtraStatusDescription: string | null; readonly statusMaybeAssignedWorker: string | null; readonly statusMaybeAssignedCluster: string | null; readonly statusMaybeFirstStartedAt: Date | null; readonly statusAttemptCount: number; readonly statusRequiresKeepalive: boolean; readonly entityType: string; readonly entityToken: string; readonly publicBucketMediaPath: string; readonly maybeSuccessfullyCompletedAt: Date | null; readonly createdAt: Date; readonly updatedAt: Date; /** * Fetch the model that was used to convert this audio file. * * @returns The model that was used to convert this audio file. Undefined if no model could be found. */ fetchModel(): Promise; /** * Fetch the audio file as a buffer. * * @function */ toBuffer: typeof implToBuffer; /** * Convert the audio file to a base64 string. */ toBase64: typeof implToBase64; /** * Write the audio file to disk. */ toDisk: typeof implToDisk; }