import { Client } from "../client.js"; import { z } from "zod"; //#region src/resources/isobmff-file.d.ts declare const CreateISOBMFFFilePayload: z.ZodObject<{ md5: z.ZodString; filename: z.ZodString; }, "strip", z.ZodTypeAny, { md5: string; filename: string; }, { md5: string; filename: string; }>; type CreateISOBMFFFilePayload = z.infer; /** @deprecated Use the unified file API from ./file.js instead */ interface CreateISOBMFFFileResult { /** * Whether the fragment index is complete. The fragment index is used internally by editframe to efficiently seek within files. */ fragment_index_complete: boolean; /** * The filename of the isobmff file */ filename: string; /** * The id of the isobmff file */ id: string; /** * The md5 hash of the isobmff file */ md5: string; } interface LookupISOBMFFFileByMd5Result { /** * Whether the fragment index is complete */ fragment_index_complete: boolean; /** * The filename of the isobmff file */ filename: string; id: string; md5: string; } /** @deprecated Use the unified file API from ./file.js instead */ interface GetISOBMFFFileTranscriptionResult { id: string; work_slice_ms: number; isobmff_track: { duration_ms: number; }; } /** @deprecated Use the unified file API from ./file.js instead */ declare const createISOBMFFFile: (client: Client, payload: CreateISOBMFFFilePayload) => Promise; /** @deprecated Use the unified file API from ./file.js instead */ declare const uploadFragmentIndex: (client: Client, fileId: string, fileStream: ReadableStream, fileSize: number) => Promise; /** @deprecated Use the unified file API from ./file.js instead */ declare const lookupISOBMFFFileByMd5: (client: Client, md5: string) => Promise; /** @deprecated Use the unified file API from ./file.js instead */ declare const getISOBMFFFileTranscription: (client: Client, id: string) => Promise; declare const TranscribeISOBMFFFilePayload: z.ZodObject<{ trackId: z.ZodOptional; }, "strip", z.ZodTypeAny, { trackId?: string | undefined; }, { trackId?: string | undefined; }>; type TranscribeISOBMFFFilePayload = z.infer; /** @deprecated Use the unified file API from ./file.js instead */ interface TranscribeISOBMFFFileResult { id: string; file_id: string; track_id: number; } /** @deprecated Use the unified file API from ./file.js instead */ declare const transcribeISOBMFFFile: (client: Client, id: string, payload?: TranscribeISOBMFFFilePayload) => Promise; //#endregion export { CreateISOBMFFFilePayload, CreateISOBMFFFileResult, GetISOBMFFFileTranscriptionResult, LookupISOBMFFFileByMd5Result, TranscribeISOBMFFFilePayload, TranscribeISOBMFFFileResult, createISOBMFFFile, getISOBMFFFileTranscription, lookupISOBMFFFileByMd5, transcribeISOBMFFFile, uploadFragmentIndex }; //# sourceMappingURL=isobmff-file.d.ts.map