import { Client } from "../client.cjs";
import { IteratorWithPromise, UploadChunkEvent } from "../uploadChunks.cjs";
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<typeof CreateUnprocessedFilePayload>;
/** @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<CreateUnprocessedFileResult>;
/** @deprecated Use the unified file API from ./file.js instead */
declare const uploadUnprocessedReadableStream: (client: Client, uploadDetails: UnprocessedFileUploadDetails, fileStream: ReadableStream) => IteratorWithPromise<UploadChunkEvent>;
/** @deprecated Use the unified file API from ./file.js instead */
declare const lookupUnprocessedFileByMd5: (client: Client, md5: string) => Promise<LookupUnprocessedFileByMd5Result | null>;
/** @deprecated Use the unified file API from ./file.js instead */
declare const processIsobmffFile: (client: Client, id: string) => Promise<ProcessIsobmffFileResult>;
//#endregion
export { CreateUnprocessedFilePayload, CreateUnprocessedFileResult, LookupUnprocessedFileByMd5Result, ProcessIsobmffFileResult, UnprocessedFile, UnprocessedFileUploadDetails, createUnprocessedFile, lookupUnprocessedFileByMd5, processIsobmffFile, uploadUnprocessedReadableStream };
//# sourceMappingURL=unprocessed-file.d.cts.map