import { Client } from "../client.js"; import { IteratorWithPromise, UploadChunkEvent } from "../uploadChunks.js"; import { z } from "zod"; //#region src/resources/unprocessed-file.d.ts declare const CreateUnprocessedFilePayload: z.ZodObject<{ md5: z.ZodString; filename: z.ZodString; byte_size: z.ZodNumber; }, "strip", z.ZodTypeAny, { md5: string; filename: string; byte_size: number; }, { md5: string; filename: string; byte_size: number; }>; type CreateUnprocessedFilePayload = z.infer; /** @deprecated Use the unified file API from ./file.js instead */ interface UnprocessedFile { byte_size: number; next_byte: number; complete: boolean; id: string; md5: string; } /** @deprecated Use the unified file API from ./file.js instead */ interface UnprocessedFileUploadDetails { id: string; byte_size: number; } /** @deprecated Use the unified file API from ./file.js instead */ interface CreateUnprocessedFileResult extends UnprocessedFile {} /** @deprecated Use the unified file API from ./file.js instead */ interface LookupUnprocessedFileByMd5Result extends UnprocessedFile {} /** @deprecated Use the unified file API from ./file.js instead */ interface ProcessIsobmffFileResult { id: string; } /** @deprecated Use the unified file API from ./file.js instead */ declare const createUnprocessedFile: (client: Client, payload: CreateUnprocessedFilePayload) => Promise; /** @deprecated Use the unified file API from ./file.js instead */ declare const uploadUnprocessedReadableStream: (client: Client, uploadDetails: UnprocessedFileUploadDetails, fileStream: ReadableStream) => IteratorWithPromise; /** @deprecated Use the unified file API from ./file.js instead */ declare const lookupUnprocessedFileByMd5: (client: Client, md5: string) => Promise; /** @deprecated Use the unified file API from ./file.js instead */ declare const processIsobmffFile: (client: Client, id: string) => Promise; //#endregion export { CreateUnprocessedFilePayload, CreateUnprocessedFileResult, LookupUnprocessedFileByMd5Result, ProcessIsobmffFileResult, UnprocessedFile, UnprocessedFileUploadDetails, createUnprocessedFile, lookupUnprocessedFileByMd5, processIsobmffFile, uploadUnprocessedReadableStream }; //# sourceMappingURL=unprocessed-file.d.ts.map