import { z } from 'zod'; export declare const DownloadAssetsInputSchema: z.ZodObject<{ projectId: z.ZodString; outputDir: z.ZodString; fileMode: z.ZodDefault>; tempDir: z.ZodOptional; assetsSubdir: z.ZodDefault; }, z.core.$strip>; /** Type passed by callers — fields with defaults (fileMode, assetsSubdir) are optional. */ export type DownloadAssetsInput = z.input; /** Fully-resolved input after schema.parse() — all fields present. */ export type DownloadAssetsInputParsed = z.infer; export declare const DownloadAssetsErrorCode: z.ZodEnum<{ UNKNOWN_ERROR: "UNKNOWN_ERROR"; PROJECT_NOT_FOUND: "PROJECT_NOT_FOUND"; FETCH_FAILED: "FETCH_FAILED"; WRITE_FAILED: "WRITE_FAILED"; PATH_TRAVERSAL_ATTEMPT: "PATH_TRAVERSAL_ATTEMPT"; }>; export type DownloadAssetsErrorCode = z.infer; export interface DownloadedScreenTrace { screenId: string; screenSlug: string; filePath: string; } export type DownloadAssetsResult = { success: true; downloadedScreens: DownloadedScreenTrace[]; warnings?: string[]; } | { success: false; error: { code: DownloadAssetsErrorCode; message: string; recoverable: boolean; }; }; /** * Contract for the downloadAssets operation. * Implementations must never throw — all failures return DownloadAssetsResult. */ export interface DownloadAssetsSpec { execute(input: DownloadAssetsInput): Promise; } /** Return type for Project.downloadAssets(). */ export interface DownloadAssetsOutput { screens: DownloadedScreenTrace[]; warnings: string[]; } //# sourceMappingURL=download.d.ts.map