import { z } from 'zod'; import { DEFAULT_MEMORY_CONFIG, type MemoryConfig, memoryConfigSchema, resolveHomePath } from './config/memory.js'; export { type BaseApprovalConfig, type BaseModelConfig, baseApprovalConfigSchema, baseModelConfigSchema, type ModelConfig, modelConfigSchema, type ProviderConfig, providerConfigSchema, type ToolConfig, toolConfigSchema, } from './config/base.js'; export { DEFAULT_MEMORY_CONFIG, type MemoryConfig, memoryConfigSchema, resolveHomePath }; export declare const ruleSchema: z.ZodUnion, z.ZodObject<{ url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ repo: z.ZodString; path: z.ZodString; tag: z.ZodOptional; commit: z.ZodOptional; branch: z.ZodOptional; }, z.core.$strict>]>; export declare const providerModelSchema: z.ZodObject<{ provider: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>; budget: z.ZodOptional; rules: z.ZodOptional, z.ZodObject<{ url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ repo: z.ZodString; path: z.ZodString; tag: z.ZodOptional; commit: z.ZodOptional; branch: z.ZodOptional; }, z.core.$strict>]>>>, z.ZodString]>>; }, z.core.$strip>; export type ConfigRule = z.infer; export declare const scriptSchema: z.ZodUnion, z.ZodObject<{ workflow: z.ZodString; description: z.ZodOptional; input: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ script: z.ZodString; description: z.ZodOptional; permissions: z.ZodOptional>; network: z.ZodOptional; subprocess: z.ZodOptional; }, z.core.$strip>>; timeout: z.ZodOptional; memory: z.ZodOptional; }, z.core.$strict>]>; export type ScriptConfig = z.infer; export declare const mcpServerConfigSchema: z.ZodObject<{ command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; tools: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strict>]>>>; }, z.core.$strict>; export type McpServerConfig = z.infer; export declare const configSchema: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, z.core.$strip>>>>; providers: z.ZodOptional; defaultModel: z.ZodOptional; defaultParameters: z.ZodOptional>; location: z.ZodOptional; project: z.ZodOptional; keyFile: z.ZodOptional; baseUrl: z.ZodOptional; name: z.ZodOptional; }, z.core.$strip>>>; defaultProvider: z.ZodOptional; defaultModel: z.ZodOptional; defaultParameters: z.ZodOptional>; maxMessageCount: z.ZodOptional; budget: z.ZodOptional; retryCount: z.ZodOptional; requestTimeoutSeconds: z.ZodOptional; summaryThreshold: z.ZodOptional; scripts: z.ZodOptional, z.ZodObject<{ workflow: z.ZodString; description: z.ZodOptional; input: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ script: z.ZodString; description: z.ZodOptional; permissions: z.ZodOptional>; network: z.ZodOptional; subprocess: z.ZodOptional; }, z.core.$strip>>; timeout: z.ZodOptional; memory: z.ZodOptional; }, z.core.$strict>]>>>; commands: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>; budget: z.ZodOptional; rules: z.ZodOptional, z.ZodObject<{ url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ repo: z.ZodString; path: z.ZodString; tag: z.ZodOptional; commit: z.ZodOptional; branch: z.ZodOptional; }, z.core.$strict>]>>>, z.ZodString]>>; }, z.core.$strip>>>; tools: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>; budget: z.ZodOptional; rules: z.ZodOptional, z.ZodObject<{ url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ repo: z.ZodString; path: z.ZodString; tag: z.ZodOptional; commit: z.ZodOptional; branch: z.ZodOptional; }, z.core.$strict>]>>>, z.ZodString]>>; }, z.core.$strip>, z.ZodBoolean]>>; }, z.core.$strip>>; mcpServers: z.ZodOptional>; env: z.ZodOptional>; tools: z.ZodOptional; model: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strict>]>>>; }, z.core.$strict>>>; rules: z.ZodOptional, z.ZodObject<{ url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ repo: z.ZodString; path: z.ZodString; tag: z.ZodOptional; commit: z.ZodOptional; branch: z.ZodOptional; }, z.core.$strict>]>>>, z.ZodString]>>; excludeFiles: z.ZodOptional>; agent: z.ZodOptional; strategy: z.ZodOptional>; continueOnCompletion: z.ZodOptional; maxIterations: z.ZodOptional; timeout: z.ZodOptional; requireApprovalFor: z.ZodOptional>; autoApproveSafeTasks: z.ZodOptional; maxAutoApprovalCost: z.ZodOptional; pauseOnError: z.ZodOptional; workingBranch: z.ZodOptional; destructiveOperations: z.ZodOptional>; maxConcurrency: z.ZodOptional; autoSaveInterval: z.ZodOptional; workingDir: z.ZodOptional; continuousImprovement: z.ZodOptional; sleepTimeBetweenTasks: z.ZodOptional; maxCycles: z.ZodOptional; }, z.core.$strict>>; discovery: z.ZodOptional>; cacheTime: z.ZodOptional; checkChanges: z.ZodOptional; }, z.core.$strict>>; safety: z.ZodOptional>; blockDestructive: z.ZodOptional; maxFileSize: z.ZodOptional; }, z.core.$strict>>; healthCheck: z.ZodOptional; interval: z.ZodOptional; }, z.core.$strict>>; approval: z.ZodOptional>; autoApproveSafeTasks: z.ZodOptional; maxAutoApprovalCost: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; memory: z.ZodOptional>; type: z.ZodDefault>>; path: z.ZodDefault>; }, z.core.$strict>>; loadRules: z.ZodOptional>; }, z.core.$strict>>>; export type Config = NonNullable>;