import * as z from 'zod'; import { type Asset, type Batch, type CommitBatch } from '../../../schemas/storage'; /** * @see AssetAssertUpload */ export declare const AssetAssertUploadSchema: z.ZodObject<{ current: z.ZodOptional; collection: z.ZodString; owner: z.ZodCustom, Uint8Array>; description: z.ZodOptional; }, z.core.$strict>; headers: z.ZodArray>; encodings: z.ZodArray, z.ZodObject<{ modified: z.ZodBigInt; content_chunks: z.ZodArray, Uint8Array>>; total_length: z.ZodBigInt; sha256: z.ZodCustom, Uint8Array>; }, z.core.$strip>], null>>; created_at: z.ZodBigInt; updated_at: z.ZodBigInt; version: z.ZodOptional; }, z.core.$strict>>; batch: z.ZodObject<{ key: z.ZodObject<{ name: z.ZodString; full_path: z.ZodString; token: z.ZodOptional; collection: z.ZodString; owner: z.ZodCustom, Uint8Array>; description: z.ZodOptional; }, z.core.$strict>; reference_id: z.ZodOptional; expires_at: z.ZodBigInt; encoding_type: z.ZodOptional>; }, z.core.$strict>; commit_batch: z.ZodObject<{ batch_id: z.ZodBigInt; headers: z.ZodArray>; chunk_ids: z.ZodArray; }, z.core.$strict>; }, z.core.$strict>; /** * Represents a validation context before uploading an asset. */ export interface AssetAssertUpload { /** * The current asset already stored (if any). */ current?: Asset; /** * The batch metadata being uploaded. */ batch: Batch; /** * The commit data describing headers and chunk ids. */ commit_batch: CommitBatch; }