import { z } from 'zod'; export declare const FILE_PURPOSES: readonly ["uploads", "agent-attachments", "agent-artifacts", "agent-edited-images", "agent-workbench", "asset-screenshots", "data-exports", "data-feature-media", "design-assets", "design-board-thumbnails", "design-images", "dev-agent-reference-images", "dev-agent-review-artifacts", "external-delivery-techpacks", "llm-generated-images", "media-generated", "media-uploads", "model-training-files", "models", "models-checkpoints", "models-clip", "models-controlnet", "models-diffusion-models", "models-loras-test", "models-vae", "output-images", "plugin-data-imports", "plugin-runtime", "plugin-runtime-outputs", "step-thumbnails", "techpack-design-intent", "user-files-base", "user-files-design-board-background", "user-files-design-project-cover", "user-files-designs", "user-files-icons", "user-files-import-comfyui-image", "user-files-import-comfyui-json", "user-files-import-comfyui-json-url", "user-files-instruction-input", "user-files-linesheet", "user-files-media", "user-files-other", "user-files-prompt-assistant", "user-files-table-data", "user-files-techpack-attachments", "user-files-text-data-file", "user-files-workflow-input", "workflow-image-mask", "workflow-image-overlay", "workflow-import"]; export declare const FilePurposeSchema: z.ZodEnum<{ models: "models"; uploads: "uploads"; "agent-attachments": "agent-attachments"; "agent-artifacts": "agent-artifacts"; "agent-edited-images": "agent-edited-images"; "agent-workbench": "agent-workbench"; "asset-screenshots": "asset-screenshots"; "data-exports": "data-exports"; "data-feature-media": "data-feature-media"; "design-assets": "design-assets"; "design-board-thumbnails": "design-board-thumbnails"; "design-images": "design-images"; "dev-agent-reference-images": "dev-agent-reference-images"; "dev-agent-review-artifacts": "dev-agent-review-artifacts"; "external-delivery-techpacks": "external-delivery-techpacks"; "llm-generated-images": "llm-generated-images"; "media-generated": "media-generated"; "media-uploads": "media-uploads"; "model-training-files": "model-training-files"; "models-checkpoints": "models-checkpoints"; "models-clip": "models-clip"; "models-controlnet": "models-controlnet"; "models-diffusion-models": "models-diffusion-models"; "models-loras-test": "models-loras-test"; "models-vae": "models-vae"; "output-images": "output-images"; "plugin-data-imports": "plugin-data-imports"; "plugin-runtime": "plugin-runtime"; "plugin-runtime-outputs": "plugin-runtime-outputs"; "step-thumbnails": "step-thumbnails"; "techpack-design-intent": "techpack-design-intent"; "user-files-base": "user-files-base"; "user-files-design-board-background": "user-files-design-board-background"; "user-files-design-project-cover": "user-files-design-project-cover"; "user-files-designs": "user-files-designs"; "user-files-icons": "user-files-icons"; "user-files-import-comfyui-image": "user-files-import-comfyui-image"; "user-files-import-comfyui-json": "user-files-import-comfyui-json"; "user-files-import-comfyui-json-url": "user-files-import-comfyui-json-url"; "user-files-instruction-input": "user-files-instruction-input"; "user-files-linesheet": "user-files-linesheet"; "user-files-media": "user-files-media"; "user-files-other": "user-files-other"; "user-files-prompt-assistant": "user-files-prompt-assistant"; "user-files-table-data": "user-files-table-data"; "user-files-techpack-attachments": "user-files-techpack-attachments"; "user-files-text-data-file": "user-files-text-data-file"; "user-files-workflow-input": "user-files-workflow-input"; "workflow-image-mask": "workflow-image-mask"; "workflow-image-overlay": "workflow-image-overlay"; "workflow-import": "workflow-import"; }>; export declare const FileStatusSchema: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; deleted: "deleted"; }>; export declare const FileVariantStatusSchema: z.ZodEnum<{ queued: "queued"; failed: "failed"; ready: "ready"; processing: "processing"; }>; export declare const FILE_USAGE_OWNER_TYPES: readonly ["data-asset", "data-export", "design-board", "external-delivery", "kernel-runtime", "llm-generated-media", "model-training-media", "plugin-run"]; export declare const FileUsageOwnerTypeSchema: z.ZodEnum<{ "design-board": "design-board"; "data-asset": "data-asset"; "data-export": "data-export"; "external-delivery": "external-delivery"; "kernel-runtime": "kernel-runtime"; "llm-generated-media": "llm-generated-media"; "model-training-media": "model-training-media"; "plugin-run": "plugin-run"; }>; export declare const FileUsageSchema: z.ZodObject<{ ownerType: z.ZodEnum<{ "design-board": "design-board"; "data-asset": "data-asset"; "data-export": "data-export"; "external-delivery": "external-delivery"; "kernel-runtime": "kernel-runtime"; "llm-generated-media": "llm-generated-media"; "model-training-media": "model-training-media"; "plugin-run": "plugin-run"; }>; ownerId: z.ZodString; field: z.ZodOptional; }, z.core.$strict>; export declare const FileReferenceSchema: z.ZodObject<{ id: z.ZodOptional; uri: z.ZodOptional; thumbnailUri: z.ZodOptional; mimeType: z.ZodOptional; byteSize: z.ZodOptional; sha256: z.ZodOptional; }, z.core.$strict>; export declare const FileVariantSchema: z.ZodObject<{ variantId: z.ZodString; kind: z.ZodLiteral<"thumbnail-512">; status: z.ZodEnum<{ queued: "queued"; failed: "failed"; ready: "ready"; processing: "processing"; }>; mimeType: z.ZodLiteral<"image/webp">; byteSize: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; uri: z.ZodOptional; errorCode: z.ZodOptional; }, z.core.$strict>; export declare const FileRecordSchema: z.ZodObject<{ contract: z.ZodLiteral<"FileRecord">; contractVersion: z.ZodLiteral<1>; version: z.ZodNumber; fileId: z.ZodString; teamId: z.ZodString; purpose: z.ZodEnum<{ models: "models"; uploads: "uploads"; "agent-attachments": "agent-attachments"; "agent-artifacts": "agent-artifacts"; "agent-edited-images": "agent-edited-images"; "agent-workbench": "agent-workbench"; "asset-screenshots": "asset-screenshots"; "data-exports": "data-exports"; "data-feature-media": "data-feature-media"; "design-assets": "design-assets"; "design-board-thumbnails": "design-board-thumbnails"; "design-images": "design-images"; "dev-agent-reference-images": "dev-agent-reference-images"; "dev-agent-review-artifacts": "dev-agent-review-artifacts"; "external-delivery-techpacks": "external-delivery-techpacks"; "llm-generated-images": "llm-generated-images"; "media-generated": "media-generated"; "media-uploads": "media-uploads"; "model-training-files": "model-training-files"; "models-checkpoints": "models-checkpoints"; "models-clip": "models-clip"; "models-controlnet": "models-controlnet"; "models-diffusion-models": "models-diffusion-models"; "models-loras-test": "models-loras-test"; "models-vae": "models-vae"; "output-images": "output-images"; "plugin-data-imports": "plugin-data-imports"; "plugin-runtime": "plugin-runtime"; "plugin-runtime-outputs": "plugin-runtime-outputs"; "step-thumbnails": "step-thumbnails"; "techpack-design-intent": "techpack-design-intent"; "user-files-base": "user-files-base"; "user-files-design-board-background": "user-files-design-board-background"; "user-files-design-project-cover": "user-files-design-project-cover"; "user-files-designs": "user-files-designs"; "user-files-icons": "user-files-icons"; "user-files-import-comfyui-image": "user-files-import-comfyui-image"; "user-files-import-comfyui-json": "user-files-import-comfyui-json"; "user-files-import-comfyui-json-url": "user-files-import-comfyui-json-url"; "user-files-instruction-input": "user-files-instruction-input"; "user-files-linesheet": "user-files-linesheet"; "user-files-media": "user-files-media"; "user-files-other": "user-files-other"; "user-files-prompt-assistant": "user-files-prompt-assistant"; "user-files-table-data": "user-files-table-data"; "user-files-techpack-attachments": "user-files-techpack-attachments"; "user-files-text-data-file": "user-files-text-data-file"; "user-files-workflow-input": "user-files-workflow-input"; "workflow-image-mask": "workflow-image-mask"; "workflow-image-overlay": "workflow-image-overlay"; "workflow-import": "workflow-import"; }>; originalName: z.ZodString; mimeType: z.ZodString; byteSize: z.ZodOptional; sha256: z.ZodOptional; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; deleted: "deleted"; }>; storage: z.ZodObject<{ bucketId: z.ZodString; objectKey: z.ZodString; canonicalUri: z.ZodString; etag: z.ZodOptional; }, z.core.$strict>; variants: z.ZodDefault; status: z.ZodEnum<{ queued: "queued"; failed: "failed"; ready: "ready"; processing: "processing"; }>; mimeType: z.ZodLiteral<"image/webp">; byteSize: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; uri: z.ZodOptional; errorCode: z.ZodOptional; }, z.core.$strict>>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; export declare const FileUploadCreateRequestSchema: z.ZodObject<{ purpose: z.ZodEnum<{ models: "models"; uploads: "uploads"; "agent-attachments": "agent-attachments"; "agent-artifacts": "agent-artifacts"; "agent-edited-images": "agent-edited-images"; "agent-workbench": "agent-workbench"; "asset-screenshots": "asset-screenshots"; "data-exports": "data-exports"; "data-feature-media": "data-feature-media"; "design-assets": "design-assets"; "design-board-thumbnails": "design-board-thumbnails"; "design-images": "design-images"; "dev-agent-reference-images": "dev-agent-reference-images"; "dev-agent-review-artifacts": "dev-agent-review-artifacts"; "external-delivery-techpacks": "external-delivery-techpacks"; "llm-generated-images": "llm-generated-images"; "media-generated": "media-generated"; "media-uploads": "media-uploads"; "model-training-files": "model-training-files"; "models-checkpoints": "models-checkpoints"; "models-clip": "models-clip"; "models-controlnet": "models-controlnet"; "models-diffusion-models": "models-diffusion-models"; "models-loras-test": "models-loras-test"; "models-vae": "models-vae"; "output-images": "output-images"; "plugin-data-imports": "plugin-data-imports"; "plugin-runtime": "plugin-runtime"; "plugin-runtime-outputs": "plugin-runtime-outputs"; "step-thumbnails": "step-thumbnails"; "techpack-design-intent": "techpack-design-intent"; "user-files-base": "user-files-base"; "user-files-design-board-background": "user-files-design-board-background"; "user-files-design-project-cover": "user-files-design-project-cover"; "user-files-designs": "user-files-designs"; "user-files-icons": "user-files-icons"; "user-files-import-comfyui-image": "user-files-import-comfyui-image"; "user-files-import-comfyui-json": "user-files-import-comfyui-json"; "user-files-import-comfyui-json-url": "user-files-import-comfyui-json-url"; "user-files-instruction-input": "user-files-instruction-input"; "user-files-linesheet": "user-files-linesheet"; "user-files-media": "user-files-media"; "user-files-other": "user-files-other"; "user-files-prompt-assistant": "user-files-prompt-assistant"; "user-files-table-data": "user-files-table-data"; "user-files-techpack-attachments": "user-files-techpack-attachments"; "user-files-text-data-file": "user-files-text-data-file"; "user-files-workflow-input": "user-files-workflow-input"; "workflow-image-mask": "workflow-image-mask"; "workflow-image-overlay": "workflow-image-overlay"; "workflow-import": "workflow-import"; }>; filename: z.ZodString; mimeType: z.ZodString; byteSize: z.ZodOptional; sha256: z.ZodOptional; usage: z.ZodOptional; ownerId: z.ZodString; field: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; export declare const FileUploadInstructionSchema: z.ZodObject<{ url: z.ZodUnion; method: z.ZodString; headers: z.ZodRecord; expiresAt: z.ZodString; }, z.core.$strict>; export declare const FileUploadCreateResponseSchema: z.ZodObject<{ file: z.ZodObject<{ contract: z.ZodLiteral<"FileRecord">; contractVersion: z.ZodLiteral<1>; version: z.ZodNumber; fileId: z.ZodString; teamId: z.ZodString; purpose: z.ZodEnum<{ models: "models"; uploads: "uploads"; "agent-attachments": "agent-attachments"; "agent-artifacts": "agent-artifacts"; "agent-edited-images": "agent-edited-images"; "agent-workbench": "agent-workbench"; "asset-screenshots": "asset-screenshots"; "data-exports": "data-exports"; "data-feature-media": "data-feature-media"; "design-assets": "design-assets"; "design-board-thumbnails": "design-board-thumbnails"; "design-images": "design-images"; "dev-agent-reference-images": "dev-agent-reference-images"; "dev-agent-review-artifacts": "dev-agent-review-artifacts"; "external-delivery-techpacks": "external-delivery-techpacks"; "llm-generated-images": "llm-generated-images"; "media-generated": "media-generated"; "media-uploads": "media-uploads"; "model-training-files": "model-training-files"; "models-checkpoints": "models-checkpoints"; "models-clip": "models-clip"; "models-controlnet": "models-controlnet"; "models-diffusion-models": "models-diffusion-models"; "models-loras-test": "models-loras-test"; "models-vae": "models-vae"; "output-images": "output-images"; "plugin-data-imports": "plugin-data-imports"; "plugin-runtime": "plugin-runtime"; "plugin-runtime-outputs": "plugin-runtime-outputs"; "step-thumbnails": "step-thumbnails"; "techpack-design-intent": "techpack-design-intent"; "user-files-base": "user-files-base"; "user-files-design-board-background": "user-files-design-board-background"; "user-files-design-project-cover": "user-files-design-project-cover"; "user-files-designs": "user-files-designs"; "user-files-icons": "user-files-icons"; "user-files-import-comfyui-image": "user-files-import-comfyui-image"; "user-files-import-comfyui-json": "user-files-import-comfyui-json"; "user-files-import-comfyui-json-url": "user-files-import-comfyui-json-url"; "user-files-instruction-input": "user-files-instruction-input"; "user-files-linesheet": "user-files-linesheet"; "user-files-media": "user-files-media"; "user-files-other": "user-files-other"; "user-files-prompt-assistant": "user-files-prompt-assistant"; "user-files-table-data": "user-files-table-data"; "user-files-techpack-attachments": "user-files-techpack-attachments"; "user-files-text-data-file": "user-files-text-data-file"; "user-files-workflow-input": "user-files-workflow-input"; "workflow-image-mask": "workflow-image-mask"; "workflow-image-overlay": "workflow-image-overlay"; "workflow-import": "workflow-import"; }>; originalName: z.ZodString; mimeType: z.ZodString; byteSize: z.ZodOptional; sha256: z.ZodOptional; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; deleted: "deleted"; }>; storage: z.ZodObject<{ bucketId: z.ZodString; objectKey: z.ZodString; canonicalUri: z.ZodString; etag: z.ZodOptional; }, z.core.$strict>; variants: z.ZodDefault; status: z.ZodEnum<{ queued: "queued"; failed: "failed"; ready: "ready"; processing: "processing"; }>; mimeType: z.ZodLiteral<"image/webp">; byteSize: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; uri: z.ZodOptional; errorCode: z.ZodOptional; }, z.core.$strict>>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; upload: z.ZodObject<{ url: z.ZodUnion; method: z.ZodString; headers: z.ZodRecord; expiresAt: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export declare const FileUploadCompleteRequestSchema: z.ZodObject<{ byteSize: z.ZodOptional; sha256: z.ZodOptional; etag: z.ZodOptional; }, z.core.$strict>; export declare const ResolvedFileSchema: z.ZodObject<{ fileId: z.ZodOptional; status: z.ZodOptional>; originalUri: z.ZodOptional; thumbnailUri: z.ZodOptional; mimeType: z.ZodOptional; byteSize: z.ZodOptional; sha256: z.ZodOptional; unresolved: z.ZodOptional; }, z.core.$strict>; export declare const FileResolveBatchRequestSchema: z.ZodObject<{ references: z.ZodArray; uri: z.ZodOptional; thumbnailUri: z.ZodOptional; mimeType: z.ZodOptional; byteSize: z.ZodOptional; sha256: z.ZodOptional; }, z.core.$strict>>; includeOriginal: z.ZodDefault; includeThumbnail: z.ZodDefault; }, z.core.$strict>; export declare const FileResolveBatchResponseSchema: z.ZodObject<{ items: z.ZodArray; status: z.ZodOptional>; originalUri: z.ZodOptional; thumbnailUri: z.ZodOptional; mimeType: z.ZodOptional; byteSize: z.ZodOptional; sha256: z.ZodOptional; unresolved: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; export declare const ManagedFileCommandTypeSchema: z.ZodEnum<{ "create-file": "create-file"; "attach-usage": "attach-usage"; "detach-usage": "detach-usage"; "record-upload": "record-upload"; "verify-upload": "verify-upload"; "delete-file": "delete-file"; }>; export declare const ManagedFileCommandSchema: z.ZodObject<{ contract: z.ZodLiteral<"ManagedFileCommand">; contractVersion: z.ZodLiteral<1>; commandId: z.ZodString; commandType: z.ZodEnum<{ "create-file": "create-file"; "attach-usage": "attach-usage"; "detach-usage": "detach-usage"; "record-upload": "record-upload"; "verify-upload": "verify-upload"; "delete-file": "delete-file"; }>; fileId: z.ZodString; teamId: z.ZodString; expectedVersion: z.ZodOptional; actorId: z.ZodOptional; payload: z.ZodDefault>>>; issuedAt: z.ZodString; }, z.core.$strict>; export declare const ManagedFileEventTypeSchema: z.ZodEnum<{ "file-created": "file-created"; "file-usage-attached": "file-usage-attached"; "file-usage-detached": "file-usage-detached"; "storage-operation-queued": "storage-operation-queued"; "storage-operation-completed": "storage-operation-completed"; "storage-operation-failed": "storage-operation-failed"; "file-ready": "file-ready"; "file-deleted": "file-deleted"; }>; export declare const ManagedFileEventSchema: z.ZodObject<{ contract: z.ZodLiteral<"ManagedFileEvent">; contractVersion: z.ZodLiteral<1>; eventId: z.ZodString; eventType: z.ZodEnum<{ "file-created": "file-created"; "file-usage-attached": "file-usage-attached"; "file-usage-detached": "file-usage-detached"; "storage-operation-queued": "storage-operation-queued"; "storage-operation-completed": "storage-operation-completed"; "storage-operation-failed": "storage-operation-failed"; "file-ready": "file-ready"; "file-deleted": "file-deleted"; }>; fileId: z.ZodString; teamId: z.ZodString; aggregateVersion: z.ZodNumber; commandId: z.ZodString; actorId: z.ZodOptional; payload: z.ZodDefault>>>; occurredAt: z.ZodString; }, z.core.$strict>; export type FilePurpose = z.infer; export type FileUsageOwnerType = z.infer; export type FileStatus = z.infer; export type FileVariantStatus = z.infer; export type FileUsage = z.infer; export type FileReference = z.infer; export type FileVariant = z.infer; export type FileRecord = z.infer; export type FileUploadCreateRequest = z.infer; export type FileUploadInstruction = z.infer; export type FileUploadCreateResponse = z.infer; export type FileUploadCompleteRequest = z.infer; export type ResolvedFile = z.infer; export type FileResolveBatchRequest = z.infer; export type FileResolveBatchResponse = z.infer; export type ManagedFileCommandType = z.infer; export type ManagedFileCommand = z.infer; export type ManagedFileEventType = z.infer; export type ManagedFileEvent = z.infer; //# sourceMappingURL=file.d.ts.map