import { z } from "zod"; export declare const sdcppConfigSchema: z.ZodObject<{ mode: z.ZodDefault>; threads: z.ZodOptional; device: z.ZodOptional>; prediction: z.ZodOptional>; type: z.ZodOptional>; rng: z.ZodOptional>; sampler_rng: z.ZodOptional>; clip_on_cpu: z.ZodOptional; vae_on_cpu: z.ZodOptional; vae_tiling: z.ZodOptional; offload_to_cpu: z.ZodOptional; flash_attn: z.ZodOptional; diffusion_fa: z.ZodOptional; lora_apply_mode: z.ZodOptional>; verbosity: z.ZodOptional; clipLModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; clipGModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; t5XxlModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; llmModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; vaeModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; highNoiseDiffusionModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; clipVisionModelSrc: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; upscaler: z.ZodOptional>; model_src: z.ZodOptional; modelId: z.ZodOptional; registryPath: z.ZodOptional; registrySource: z.ZodOptional; blobCoreKey: z.ZodOptional; blobIndex: z.ZodOptional; engine: z.ZodOptional; expectedSize: z.ZodOptional; sha256Checksum: z.ZodOptional; addon: z.ZodOptional, z.ZodLiteral<"vad">]>>; }, z.core.$strip>]>>; tile_size: z.ZodOptional; direct: z.ZodOptional; offload_params_to_cpu: z.ZodOptional; threads: z.ZodOptional, z.ZodNumber]>>; }, z.core.$strict>>; }, z.core.$strip>; export type SdcppConfig = z.input; export declare const diffusionStatsSchema: z.ZodObject<{ modelLoadMs: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>; export type DiffusionStats = z.infer; export declare const videoStatsSchema: z.ZodObject<{ seed: z.ZodOptional; modelLoadMs: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; totalVideos: z.ZodOptional; totalVideoFrames: z.ZodOptional; videoFrames: z.ZodOptional; fps: z.ZodOptional; }, z.core.$strip>; export type VideoStats = z.infer; export declare const diffusionStreamResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"diffusionStream">; step: z.ZodOptional; totalSteps: z.ZodOptional; elapsedMs: z.ZodOptional; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type DiffusionStreamResponse = z.infer; export declare const videoStreamResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"videoStream">; step: z.ZodOptional; totalSteps: z.ZodOptional; elapsedMs: z.ZodOptional; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; modelLoadMs: z.ZodOptional; generationMs: z.ZodOptional; totalGenerationMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalSteps: z.ZodOptional; totalGenerations: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; totalVideos: z.ZodOptional; totalVideoFrames: z.ZodOptional; videoFrames: z.ZodOptional; fps: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type VideoStreamResponse = z.infer; export declare const diffusionRequestSchema: z.ZodObject<{ modelId: z.ZodString; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; steps: z.ZodOptional; cfg_scale: z.ZodOptional; img_cfg_scale: z.ZodDefault; guidance: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; seed: z.ZodOptional; batch_count: z.ZodOptional; vae_tiling: z.ZodOptional; cache_preset: z.ZodOptional; init_image: z.ZodOptional; init_images: z.ZodOptional>; increase_ref_index: z.ZodOptional; auto_resize_ref_image: z.ZodOptional; lora: z.ZodOptional; strength: z.ZodOptional; upscale: z.ZodOptional; }, z.core.$strict>]>>; }, z.core.$strip>; export type DiffusionRequest = z.input; export declare const diffusionStreamRequestSchema: z.ZodObject<{ modelId: z.ZodString; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; steps: z.ZodOptional; cfg_scale: z.ZodOptional; img_cfg_scale: z.ZodDefault; guidance: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; seed: z.ZodOptional; batch_count: z.ZodOptional; vae_tiling: z.ZodOptional; cache_preset: z.ZodOptional; init_image: z.ZodOptional; init_images: z.ZodOptional>; increase_ref_index: z.ZodOptional; auto_resize_ref_image: z.ZodOptional; lora: z.ZodOptional; strength: z.ZodOptional; upscale: z.ZodOptional; }, z.core.$strict>]>>; type: z.ZodLiteral<"diffusionStream">; }, z.core.$strip>; export type DiffusionStreamRequest = z.input; type DiffusionClientParamsBase = Omit; export type DiffusionClientParams = DiffusionClientParamsBase & ({ init_image?: Uint8Array; init_images?: never; } | { init_image?: never; init_images?: Uint8Array[]; }); export declare const videoRequestSchema: z.ZodObject<{ modelId: z.ZodString; requestId: z.ZodOptional; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; video_frames: z.ZodOptional; fps: z.ZodOptional; seed: z.ZodOptional; steps: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; cfg_scale: z.ZodOptional; flow_shift: z.ZodOptional; high_noise_steps: z.ZodOptional; high_noise_sampler: z.ZodOptional>; high_noise_scheduler: z.ZodOptional>; high_noise_cfg_scale: z.ZodOptional; high_noise_flow_shift: z.ZodOptional; moe_boundary: z.ZodOptional; vace_strength: z.ZodOptional; control_frames: z.ZodOptional>; vae_tiling: z.ZodOptional; vae_tile_size: z.ZodOptional>; vae_tile_overlap: z.ZodOptional; cache_mode: z.ZodOptional>; cache_preset: z.ZodOptional; cache_threshold: z.ZodOptional; mode: z.ZodEnum<{ txt2vid: "txt2vid"; img2vid: "img2vid"; }>; init_image: z.ZodOptional; strength: z.ZodOptional; }, z.core.$strip>; export type VideoRequest = z.input; export declare const videoStreamRequestSchema: z.ZodObject<{ modelId: z.ZodString; requestId: z.ZodOptional; prompt: z.ZodString; negative_prompt: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; video_frames: z.ZodOptional; fps: z.ZodOptional; seed: z.ZodOptional; steps: z.ZodOptional; sampling_method: z.ZodOptional>; scheduler: z.ZodOptional>; cfg_scale: z.ZodOptional; flow_shift: z.ZodOptional; high_noise_steps: z.ZodOptional; high_noise_sampler: z.ZodOptional>; high_noise_scheduler: z.ZodOptional>; high_noise_cfg_scale: z.ZodOptional; high_noise_flow_shift: z.ZodOptional; moe_boundary: z.ZodOptional; vace_strength: z.ZodOptional; control_frames: z.ZodOptional>; vae_tiling: z.ZodOptional; vae_tile_size: z.ZodOptional>; vae_tile_overlap: z.ZodOptional; cache_mode: z.ZodOptional>; cache_preset: z.ZodOptional; cache_threshold: z.ZodOptional; mode: z.ZodEnum<{ txt2vid: "txt2vid"; img2vid: "img2vid"; }>; init_image: z.ZodOptional; strength: z.ZodOptional; type: z.ZodLiteral<"videoStream">; }, z.core.$strip>; export type VideoStreamRequest = z.input; type VideoClientParamsCommon = Omit & { control_frames?: Uint8Array[]; }; export type VideoTxt2vidClientParams = VideoClientParamsCommon & { mode: "txt2vid"; init_image?: never; strength?: never; }; export type VideoImg2vidClientParams = VideoClientParamsCommon & { mode: "img2vid"; init_image: Uint8Array; strength?: number; }; export type VideoClientParams = VideoTxt2vidClientParams | VideoImg2vidClientParams; export declare const upscaleStatsSchema: z.ZodObject<{ modelLoadMs: z.ZodOptional; upscaleMs: z.ZodOptional; totalUpscaleMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalUpscales: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; repeats: z.ZodOptional; backendDevice: z.ZodOptional>; }, z.core.$strip>; export type UpscaleStats = z.infer; export declare const upscaleRequestSchema: z.ZodObject<{ modelId: z.ZodString; image: z.ZodString; repeats: z.ZodOptional; }, z.core.$strip>; export type UpscaleRequest = z.input; export declare const upscaleStreamRequestSchema: z.ZodObject<{ modelId: z.ZodString; image: z.ZodString; repeats: z.ZodOptional; type: z.ZodLiteral<"upscaleStream">; }, z.core.$strip>; export type UpscaleStreamRequest = z.input; export declare const upscaleStreamResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"upscaleStream">; data: z.ZodOptional; outputIndex: z.ZodOptional; done: z.ZodOptional; stats: z.ZodOptional; upscaleMs: z.ZodOptional; totalUpscaleMs: z.ZodOptional; totalWallMs: z.ZodOptional; totalUpscales: z.ZodOptional; totalImages: z.ZodOptional; totalPixels: z.ZodOptional; width: z.ZodOptional; height: z.ZodOptional; repeats: z.ZodOptional; backendDevice: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type UpscaleStreamResponse = z.infer; export type UpscaleClientParams = Omit & { image: Uint8Array; }; export {}; //# sourceMappingURL=sdcpp-config.d.ts.map