/** * Configuration schema validation using Zod */ import { z } from 'zod'; export declare const reScriptConfigSchema: z.ZodObject<{ provider: z.ZodObject<{ name: z.ZodEnum<["openai", "anthropic", "ollama", "azure", "bedrock"]>; model: z.ZodString; apiKey: z.ZodOptional; baseUrl: z.ZodOptional; temperature: z.ZodDefault; maxTokens: z.ZodDefault; timeout: z.ZodDefault; }, "strip", z.ZodTypeAny, { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }, { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }>; processing: z.ZodDefault>; maxChunkSize: z.ZodDefault; overlapPercentage: z.ZodDefault; respectFunctionBoundaries: z.ZodDefault; }, "strip", z.ZodTypeAny, { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }, { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }>>; caching: z.ZodDefault; ttl: z.ZodDefault; backend: z.ZodDefault>; maxSize: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }, { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }>>; retries: z.ZodDefault; backoffFactor: z.ZodDefault; maxDelay: z.ZodDefault; }, "strip", z.ZodTypeAny, { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }, { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }>>; concurrency: z.ZodDefault; preserveComments: z.ZodDefault; preserveSourceMaps: z.ZodDefault; }, "strip", z.ZodTypeAny, { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }, { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }>>; output: z.ZodDefault>; prettierOptions: z.ZodDefault; printWidth: z.ZodDefault; tabWidth: z.ZodDefault; useTabs: z.ZodDefault; semi: z.ZodDefault; singleQuote: z.ZodDefault; trailingComma: z.ZodDefault>; }, "strip", z.ZodTypeAny, { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }, { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }>>; generateSourceMaps: z.ZodDefault; addComments: z.ZodDefault; commentStyle: z.ZodDefault>; }, "strip", z.ZodTypeAny, { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }, { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }>>; advanced: z.ZodDefault; pluginPaths: z.ZodDefault>; pluginConfig: z.ZodDefault>; patterns: z.ZodDefault>; excludePatterns: z.ZodOptional>; }, "strip", z.ZodTypeAny, { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }, { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }>>; security: z.ZodDefault>; allowedPaths: z.ZodDefault>; timeoutMs: z.ZodDefault; memoryLimitMB: z.ZodDefault; networkAccess: z.ZodDefault; }, "strip", z.ZodTypeAny, { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }, { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }>>; execution: z.ZodDefault>; afterTransform: z.ZodOptional>; beforeAnalysis: z.ZodOptional>; afterAnalysis: z.ZodOptional>; onError: z.ZodOptional>; }, "strip", z.ZodTypeAny, { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }, { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }>>; chains: z.ZodDefault>; analyzers: z.ZodDefault>; }, "strip", z.ZodTypeAny, { transformers?: string[]; analyzers?: string[]; }, { transformers?: string[]; analyzers?: string[]; }>>; configs: z.ZodDefault; priority: z.ZodDefault; options: z.ZodDefault>; }, "strip", z.ZodTypeAny, { options?: Record; enabled?: boolean; priority?: number; }, { options?: Record; enabled?: boolean; priority?: number; }>>>; }, "strip", z.ZodTypeAny, { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }, { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }>>; }, "strip", z.ZodTypeAny, { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }, { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }>>; experimentalFeatures: z.ZodDefault>; debugMode: z.ZodDefault; logLevel: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }, { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }>>; }, "strip", z.ZodTypeAny, { provider?: { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }; processing?: { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }; output?: { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }; advanced?: { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }; }, { provider?: { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }; processing?: { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }; output?: { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }; advanced?: { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }; }>; export declare const partialConfigSchema: z.ZodObject<{ provider: z.ZodOptional>; model: z.ZodOptional; apiKey: z.ZodOptional>; baseUrl: z.ZodOptional>; temperature: z.ZodOptional>; maxTokens: z.ZodOptional>; timeout: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }, { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }>>>; processing: z.ZodOptional>; maxChunkSize: z.ZodDefault; overlapPercentage: z.ZodDefault; respectFunctionBoundaries: z.ZodDefault; }, "strip", z.ZodTypeAny, { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }, { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }>>>; caching: z.ZodOptional; ttl: z.ZodDefault; backend: z.ZodDefault>; maxSize: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }, { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }>>>; retries: z.ZodOptional; backoffFactor: z.ZodDefault; maxDelay: z.ZodDefault; }, "strip", z.ZodTypeAny, { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }, { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }>>>; concurrency: z.ZodOptional>; preserveComments: z.ZodOptional>; preserveSourceMaps: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }, { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }>>>; output: z.ZodOptional>>; prettierOptions: z.ZodOptional; printWidth: z.ZodDefault; tabWidth: z.ZodDefault; useTabs: z.ZodDefault; semi: z.ZodDefault; singleQuote: z.ZodDefault; trailingComma: z.ZodDefault>; }, "strip", z.ZodTypeAny, { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }, { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }>>>; generateSourceMaps: z.ZodOptional>; addComments: z.ZodOptional>; commentStyle: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }, { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }>>>; advanced: z.ZodOptional>; pluginPaths: z.ZodOptional>>; pluginConfig: z.ZodOptional>; patterns: z.ZodDefault>; excludePatterns: z.ZodOptional>; }, "strip", z.ZodTypeAny, { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }, { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }>>; security: z.ZodDefault>; allowedPaths: z.ZodDefault>; timeoutMs: z.ZodDefault; memoryLimitMB: z.ZodDefault; networkAccess: z.ZodDefault; }, "strip", z.ZodTypeAny, { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }, { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }>>; execution: z.ZodDefault>; afterTransform: z.ZodOptional>; beforeAnalysis: z.ZodOptional>; afterAnalysis: z.ZodOptional>; onError: z.ZodOptional>; }, "strip", z.ZodTypeAny, { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }, { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }>>; chains: z.ZodDefault>; analyzers: z.ZodDefault>; }, "strip", z.ZodTypeAny, { transformers?: string[]; analyzers?: string[]; }, { transformers?: string[]; analyzers?: string[]; }>>; configs: z.ZodDefault; priority: z.ZodDefault; options: z.ZodDefault>; }, "strip", z.ZodTypeAny, { options?: Record; enabled?: boolean; priority?: number; }, { options?: Record; enabled?: boolean; priority?: number; }>>>; }, "strip", z.ZodTypeAny, { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }, { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }>>; }, "strip", z.ZodTypeAny, { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }, { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }>>>; experimentalFeatures: z.ZodOptional>>; debugMode: z.ZodOptional>; logLevel: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }, { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }>>>; }, "strip", z.ZodTypeAny, { provider?: { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }; processing?: { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }; output?: { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }; advanced?: { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }; }, { provider?: { name?: "openai" | "anthropic" | "ollama" | "azure" | "bedrock"; model?: string; apiKey?: string; baseUrl?: string; temperature?: number; maxTokens?: number; timeout?: number; }; processing?: { chunking?: { strategy?: "simple" | "ast-aware" | "semantic"; maxChunkSize?: number; overlapPercentage?: number; respectFunctionBoundaries?: boolean; }; caching?: { enabled?: boolean; ttl?: number; backend?: "memory" | "file" | "redis"; maxSize?: number; }; retries?: { maxAttempts?: number; backoffFactor?: number; maxDelay?: number; }; concurrency?: number; preserveComments?: boolean; preserveSourceMaps?: boolean; }; output?: { format?: "prettier" | "custom"; prettierOptions?: { parser?: string; printWidth?: number; tabWidth?: number; useTabs?: boolean; semi?: boolean; singleQuote?: boolean; trailingComma?: "none" | "es5" | "all"; }; generateSourceMaps?: boolean; addComments?: boolean; commentStyle?: "block" | "line"; }; advanced?: { enablePlugins?: boolean; pluginPaths?: string[]; pluginConfig?: { discovery?: { paths?: string[]; patterns?: string[]; excludePatterns?: string[]; }; security?: { allowedApis?: string[]; allowedPaths?: string[]; timeoutMs?: number; memoryLimitMB?: number; networkAccess?: boolean; }; execution?: { hooks?: { beforeTransform?: string[]; afterTransform?: string[]; beforeAnalysis?: string[]; afterAnalysis?: string[]; onError?: string[]; }; chains?: { transformers?: string[]; analyzers?: string[]; }; configs?: Record; enabled?: boolean; priority?: number; }>; }; }; experimentalFeatures?: string[]; debugMode?: boolean; logLevel?: "error" | "warn" | "info" | "debug"; }; }>; export declare const cliOptionsSchema: z.ZodObject<{ input: z.ZodString; output: z.ZodOptional; config: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; apiKey: z.ZodOptional; temperature: z.ZodOptional; maxTokens: z.ZodOptional; concurrency: z.ZodOptional; dryRun: z.ZodDefault; watch: z.ZodDefault; recursive: z.ZodDefault; pattern: z.ZodOptional; exclude: z.ZodDefault>; verbose: z.ZodDefault; quiet: z.ZodDefault; force: z.ZodDefault; }, "strip", z.ZodTypeAny, { model?: string; apiKey?: string; temperature?: number; maxTokens?: number; concurrency?: number; provider?: string; output?: string; input?: string; config?: string; dryRun?: boolean; watch?: boolean; recursive?: boolean; pattern?: string; exclude?: string[]; verbose?: boolean; quiet?: boolean; force?: boolean; }, { model?: string; apiKey?: string; temperature?: number; maxTokens?: number; concurrency?: number; provider?: string; output?: string; input?: string; config?: string; dryRun?: boolean; watch?: boolean; recursive?: boolean; pattern?: string; exclude?: string[]; verbose?: boolean; quiet?: boolean; force?: boolean; }>; export declare const jobInputSchema: z.ZodObject<{ files: z.ZodArray; options: z.ZodDefault; recursive: z.ZodDefault; pattern: z.ZodOptional; exclude: z.ZodDefault>; }, "strip", z.ZodTypeAny, { recursive?: boolean; pattern?: string; exclude?: string[]; outputDir?: string; }, { recursive?: boolean; pattern?: string; exclude?: string[]; outputDir?: string; }>>; }, "strip", z.ZodTypeAny, { options?: { recursive?: boolean; pattern?: string; exclude?: string[]; outputDir?: string; }; files?: string[]; }, { options?: { recursive?: boolean; pattern?: string; exclude?: string[]; outputDir?: string; }; files?: string[]; }>; export type ReScriptConfig = z.infer; export type PartialConfig = z.infer; export type CliOptions = z.infer; export type JobInput = z.infer; export declare const defaultConfig: ReScriptConfig; export declare function validateConfig(config: unknown): ReScriptConfig; export declare function validatePartialConfig(config: unknown): PartialConfig; export declare function validateCliOptions(options: unknown): CliOptions; export declare function validateJobInput(input: unknown): JobInput; export declare function mergeConfig(base: ReScriptConfig, override: PartialConfig): ReScriptConfig; export declare const envVarMapping: { readonly RESCRIPT_PROVIDER: "provider.name"; readonly RESCRIPT_MODEL: "provider.model"; readonly OPENAI_API_KEY: "provider.apiKey"; readonly ANTHROPIC_API_KEY: "provider.apiKey"; readonly OLLAMA_BASE_URL: "provider.baseUrl"; readonly RESCRIPT_TEMPERATURE: "provider.temperature"; readonly RESCRIPT_MAX_TOKENS: "provider.maxTokens"; readonly RESCRIPT_CONCURRENCY: "processing.concurrency"; readonly RESCRIPT_DEBUG: "advanced.debugMode"; readonly RESCRIPT_LOG_LEVEL: "advanced.logLevel"; }; //# sourceMappingURL=schema.d.ts.map