import { z } from 'zod'; export declare const ServerModeSchema: z.ZodEnum<["mcp", "rest", "openai", "gemini", "all", "auto"]>; export type ServerMode = z.infer; export declare const RateLimitConfigSchema: z.ZodObject<{ enabled: z.ZodDefault; requests_per_minute: z.ZodDefault; whitelist: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; requests_per_minute: number; whitelist: string[]; }, { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; }>; export type RateLimitConfig = z.infer; export declare const VaultModeSchema: z.ZodEnum<["project", "global"]>; export type VaultMode = z.infer; export declare const AuditFieldsSchema: z.ZodDefault; client_id: z.ZodDefault; client_type: z.ZodDefault; ip: z.ZodDefault; user_agent: z.ZodDefault; purpose: z.ZodDefault; duration_ms: z.ZodDefault; variable: z.ZodDefault; message: z.ZodDefault; }, "strip", z.ZodTypeAny, { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }, { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; }>>; export declare const AuditConfigSchema: z.ZodDefault; retain_days: z.ZodDefault; fields: z.ZodDefault; client_id: z.ZodDefault; client_type: z.ZodDefault; ip: z.ZodDefault; user_agent: z.ZodDefault; purpose: z.ZodDefault; duration_ms: z.ZodDefault; variable: z.ZodDefault; message: z.ZodDefault; }, "strip", z.ZodTypeAny, { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }, { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; }>>; hmac: z.ZodDefault; hmac_key_path: z.ZodDefault; hmac_chain: z.ZodDefault; log_path: z.ZodOptional; protection: z.ZodDefault>; remote_ship: z.ZodOptional>; endpoint: z.ZodOptional; api_key: z.ZodOptional; batch_size: z.ZodDefault; retry_count: z.ZodDefault; }, "strip", z.ZodTypeAny, { batch_size: number; retry_count: number; type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; }, { type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; batch_size?: number | undefined; retry_count?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled: boolean; retain_days: number; fields: { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }; hmac: boolean; hmac_key_path: string; hmac_chain: boolean; protection: "none" | "append_only" | "immutable" | "remote"; log_path?: string | undefined; remote_ship?: { batch_size: number; retry_count: number; type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; } | undefined; }, { enabled?: boolean | undefined; retain_days?: number | undefined; fields?: { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; } | undefined; hmac?: boolean | undefined; hmac_key_path?: string | undefined; hmac_chain?: boolean | undefined; log_path?: string | undefined; protection?: "none" | "append_only" | "immutable" | "remote" | undefined; remote_ship?: { type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; batch_size?: number | undefined; retry_count?: number | undefined; } | undefined; }>>; export type AuditConfig = z.infer; export declare const EnvCPConfigSchema: z.ZodObject<{ version: z.ZodDefault; project: z.ZodOptional; vault: z.ZodDefault>; default: z.ZodDefault>; global_path: z.ZodDefault; }, "strip", z.ZodTypeAny, { default: "project" | "global"; global_path: string; mode?: "project" | "global" | undefined; }, { default?: "project" | "global" | undefined; mode?: "project" | "global" | undefined; global_path?: string | undefined; }>>; storage: z.ZodDefault; encrypted: z.ZodDefault; }, "strip", z.ZodTypeAny, { path: string; encrypted: boolean; }, { path?: string | undefined; encrypted?: boolean | undefined; }>>; access: z.ZodDefault; allow_ai_write: z.ZodOptional; allow_ai_delete: z.ZodOptional; allow_ai_export: z.ZodOptional; allow_ai_execute: z.ZodOptional; require_confirmation: z.ZodOptional; active_window: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; active_window?: { end: string; start: string; } | undefined; }, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; active_window?: { end: string; start: string; } | undefined; }>>>; client_rules: z.ZodDefault; allow_ai_write: z.ZodOptional; allow_ai_delete: z.ZodOptional; allow_ai_export: z.ZodOptional; allow_ai_execute: z.ZodOptional; allow_ai_active_check: z.ZodOptional; require_confirmation: z.ZodOptional; variable_rules: z.ZodDefault; allow_ai_write: z.ZodOptional; allow_ai_delete: z.ZodOptional; allow_ai_export: z.ZodOptional; allow_ai_execute: z.ZodOptional; require_confirmation: z.ZodOptional; active_window: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; active_window?: { end: string; start: string; } | undefined; }, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; active_window?: { end: string; start: string; } | undefined; }>>>; }, "strip", z.ZodTypeAny, { variable_rules: Record; allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; }, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; variable_rules?: Record | undefined; }>>>; allow_ai_read: z.ZodDefault; allow_ai_write: z.ZodDefault; allow_ai_delete: z.ZodDefault; allow_ai_export: z.ZodDefault; allow_ai_execute: z.ZodDefault; allow_ai_active_check: z.ZodDefault; allow_ai_logs: z.ZodDefault; logs_default_role: z.ZodDefault>; logs_roles: z.ZodDefault>>; require_user_reference: z.ZodDefault; allowed_commands: z.ZodOptional>; require_confirmation: z.ZodDefault; mask_values: z.ZodDefault; audit_log: z.ZodDefault; allowed_patterns: z.ZodOptional>; denied_patterns: z.ZodOptional>; blacklist_patterns: z.ZodDefault>; require_variable_password: z.ZodDefault; command_blacklist: z.ZodDefault>; run_safety: z.ZodDefault; disallow_path_manipulation: z.ZodDefault; require_command_whitelist: z.ZodDefault; scrub_output: z.ZodDefault; redact_patterns: z.ZodDefault>; }, "strip", z.ZodTypeAny, { disallow_root_delete: boolean; disallow_path_manipulation: boolean; require_command_whitelist: boolean; scrub_output: boolean; redact_patterns: string[]; }, { disallow_root_delete?: boolean | undefined; disallow_path_manipulation?: boolean | undefined; require_command_whitelist?: boolean | undefined; scrub_output?: boolean | undefined; redact_patterns?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { allow_ai_read: boolean; allow_ai_write: boolean; allow_ai_delete: boolean; allow_ai_export: boolean; allow_ai_execute: boolean; require_confirmation: boolean; allow_ai_active_check: boolean; variable_rules: Record; client_rules: Record; allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; }>; allow_ai_logs: boolean; logs_default_role: "none" | "full" | "own_sessions" | "readonly"; logs_roles: Record; require_user_reference: boolean; mask_values: boolean; audit_log: boolean; blacklist_patterns: string[]; require_variable_password: boolean; command_blacklist: string[]; run_safety: { disallow_root_delete: boolean; disallow_path_manipulation: boolean; require_command_whitelist: boolean; scrub_output: boolean; redact_patterns: string[]; }; allowed_commands?: string[] | undefined; allowed_patterns?: string[] | undefined; denied_patterns?: string[] | undefined; }, { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; variable_rules?: Record | undefined; client_rules?: Record | undefined; }> | undefined; allow_ai_logs?: boolean | undefined; logs_default_role?: "none" | "full" | "own_sessions" | "readonly" | undefined; logs_roles?: Record | undefined; require_user_reference?: boolean | undefined; allowed_commands?: string[] | undefined; mask_values?: boolean | undefined; audit_log?: boolean | undefined; allowed_patterns?: string[] | undefined; denied_patterns?: string[] | undefined; blacklist_patterns?: string[] | undefined; require_variable_password?: boolean | undefined; command_blacklist?: string[] | undefined; run_safety?: { disallow_root_delete?: boolean | undefined; disallow_path_manipulation?: boolean | undefined; require_command_whitelist?: boolean | undefined; scrub_output?: boolean | undefined; redact_patterns?: string[] | undefined; } | undefined; }>>; sync: z.ZodDefault; target: z.ZodDefault>; exclude: z.ZodDefault>; include: z.ZodOptional>; format: z.ZodDefault>; header: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabled: boolean; target: string; exclude: string[]; format: "dotenv" | "json" | "yaml"; include?: string[] | undefined; header?: string | undefined; }, { enabled?: boolean | undefined; target?: string | undefined; exclude?: string[] | undefined; include?: string[] | undefined; format?: "dotenv" | "json" | "yaml" | undefined; header?: string | undefined; }>>; session: z.ZodDefault; timeout_minutes: z.ZodDefault; max_extensions: z.ZodDefault; path: z.ZodDefault; lockout_threshold: z.ZodDefault; lockout_base_seconds: z.ZodDefault; }, "strip", z.ZodTypeAny, { path: string; enabled: boolean; timeout_minutes: number; max_extensions: number; lockout_threshold: number; lockout_base_seconds: number; }, { path?: string | undefined; enabled?: boolean | undefined; timeout_minutes?: number | undefined; max_extensions?: number | undefined; lockout_threshold?: number | undefined; lockout_base_seconds?: number | undefined; }>>; encryption: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; }, { enabled?: boolean | undefined; }>>; keychain: z.ZodDefault; service: z.ZodDefault; }, "strip", z.ZodTypeAny, { enabled: boolean; service: string; }, { enabled?: boolean | undefined; service?: string | undefined; }>>; hsm: z.ZodDefault; type: z.ZodDefault>; serial: z.ZodOptional; require_touch: z.ZodDefault; key_id: z.ZodOptional; pkcs11_lib: z.ZodOptional; slot: z.ZodOptional; protected_key_path: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: "yubikey" | "gpg" | "pkcs11"; enabled: boolean; require_touch: boolean; protected_key_path: string; serial?: string | undefined; key_id?: string | undefined; pkcs11_lib?: string | undefined; slot?: number | undefined; }, { type?: "yubikey" | "gpg" | "pkcs11" | undefined; enabled?: boolean | undefined; serial?: string | undefined; require_touch?: boolean | undefined; key_id?: string | undefined; pkcs11_lib?: string | undefined; slot?: number | undefined; protected_key_path?: string | undefined; }>>; auth: z.ZodDefault>; multi_factors: z.ZodDefault, "many">>; fallback: z.ZodDefault>; }, "strip", z.ZodTypeAny, { method: "keychain" | "hsm" | "password" | "multi"; multi_factors: ("keychain" | "hsm" | "password")[]; fallback: "none" | "password" | "recovery_key"; }, { method?: "keychain" | "hsm" | "password" | "multi" | undefined; multi_factors?: ("keychain" | "hsm" | "password")[] | undefined; fallback?: "none" | "password" | "recovery_key" | undefined; }>>; security: z.ZodDefault>; recovery_file: z.ZodDefault; brute_force_protection: z.ZodDefault; max_attempts: z.ZodDefault; lockout_duration: z.ZodDefault; progressive_delay: z.ZodDefault; max_delay: z.ZodDefault; permanent_lockout_threshold: z.ZodDefault; permanent_lockout_action: z.ZodDefault>; notifications: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; max_attempts: number; lockout_duration: number; progressive_delay: boolean; max_delay: number; permanent_lockout_threshold: number; permanent_lockout_action: "require_recovery_key" | "require_admin" | "permanent_lock"; notifications: {}; }, { enabled?: boolean | undefined; max_attempts?: number | undefined; lockout_duration?: number | undefined; progressive_delay?: boolean | undefined; max_delay?: number | undefined; permanent_lockout_threshold?: number | undefined; permanent_lockout_action?: "require_recovery_key" | "require_admin" | "permanent_lock" | undefined; notifications?: {} | undefined; }>>; }, "strip", z.ZodTypeAny, { mode: "hard-lock" | "recoverable"; recovery_file: string; brute_force_protection: { enabled: boolean; max_attempts: number; lockout_duration: number; progressive_delay: boolean; max_delay: number; permanent_lockout_threshold: number; permanent_lockout_action: "require_recovery_key" | "require_admin" | "permanent_lock"; notifications: {}; }; }, { mode?: "hard-lock" | "recoverable" | undefined; recovery_file?: string | undefined; brute_force_protection?: { enabled?: boolean | undefined; max_attempts?: number | undefined; lockout_duration?: number | undefined; progressive_delay?: boolean | undefined; max_delay?: number | undefined; permanent_lockout_threshold?: number | undefined; permanent_lockout_action?: "require_recovery_key" | "require_admin" | "permanent_lock" | undefined; notifications?: {} | undefined; } | undefined; }>>; password: z.ZodDefault; require_complexity: z.ZodDefault; allow_numeric_only: z.ZodDefault; allow_single_char: z.ZodDefault; }, "strip", z.ZodTypeAny, { min_length: number; require_complexity: boolean; allow_numeric_only: boolean; allow_single_char: boolean; }, { min_length?: number | undefined; require_complexity?: boolean | undefined; allow_numeric_only?: boolean | undefined; allow_single_char?: boolean | undefined; }>>; variables: z.ZodOptional; tags: z.ZodOptional>; description: z.ZodOptional; created: z.ZodOptional; updated: z.ZodOptional; accessed: z.ZodOptional; sync_to_env: z.ZodDefault; }, "strip", z.ZodTypeAny, { value: string; encrypted: boolean; sync_to_env: boolean; tags?: string[] | undefined; description?: string | undefined; created?: string | undefined; updated?: string | undefined; accessed?: string | undefined; }, { value: string; encrypted?: boolean | undefined; tags?: string[] | undefined; description?: string | undefined; created?: string | undefined; updated?: string | undefined; accessed?: string | undefined; sync_to_env?: boolean | undefined; }>>>; audit: z.ZodDefault; retain_days: z.ZodDefault; fields: z.ZodDefault; client_id: z.ZodDefault; client_type: z.ZodDefault; ip: z.ZodDefault; user_agent: z.ZodDefault; purpose: z.ZodDefault; duration_ms: z.ZodDefault; variable: z.ZodDefault; message: z.ZodDefault; }, "strip", z.ZodTypeAny, { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }, { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; }>>; hmac: z.ZodDefault; hmac_key_path: z.ZodDefault; hmac_chain: z.ZodDefault; log_path: z.ZodOptional; protection: z.ZodDefault>; remote_ship: z.ZodOptional>; endpoint: z.ZodOptional; api_key: z.ZodOptional; batch_size: z.ZodDefault; retry_count: z.ZodDefault; }, "strip", z.ZodTypeAny, { batch_size: number; retry_count: number; type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; }, { type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; batch_size?: number | undefined; retry_count?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled: boolean; retain_days: number; fields: { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }; hmac: boolean; hmac_key_path: string; hmac_chain: boolean; protection: "none" | "append_only" | "immutable" | "remote"; log_path?: string | undefined; remote_ship?: { batch_size: number; retry_count: number; type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; } | undefined; }, { enabled?: boolean | undefined; retain_days?: number | undefined; fields?: { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; } | undefined; hmac?: boolean | undefined; hmac_key_path?: string | undefined; hmac_chain?: boolean | undefined; log_path?: string | undefined; protection?: "none" | "append_only" | "immutable" | "remote" | undefined; remote_ship?: { type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; batch_size?: number | undefined; retry_count?: number | undefined; } | undefined; }>>; server: z.ZodOptional>; port: z.ZodOptional; host: z.ZodOptional; cors: z.ZodOptional; api_key: z.ZodOptional; auto_detect: z.ZodOptional; rate_limit: z.ZodOptional; requests_per_minute: z.ZodDefault; whitelist: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; requests_per_minute: number; whitelist: string[]; }, { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { api_key?: string | undefined; mode?: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto" | undefined; port?: number | undefined; host?: string | undefined; cors?: boolean | undefined; auto_detect?: boolean | undefined; rate_limit?: { enabled: boolean; requests_per_minute: number; whitelist: string[]; } | undefined; }, { api_key?: string | undefined; mode?: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto" | undefined; port?: number | undefined; host?: string | undefined; cors?: boolean | undefined; auto_detect?: boolean | undefined; rate_limit?: { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { version: string; vault: { default: "project" | "global"; global_path: string; mode?: "project" | "global" | undefined; }; storage: { path: string; encrypted: boolean; }; access: { allow_ai_read: boolean; allow_ai_write: boolean; allow_ai_delete: boolean; allow_ai_export: boolean; allow_ai_execute: boolean; require_confirmation: boolean; allow_ai_active_check: boolean; variable_rules: Record; client_rules: Record; allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; }>; allow_ai_logs: boolean; logs_default_role: "none" | "full" | "own_sessions" | "readonly"; logs_roles: Record; require_user_reference: boolean; mask_values: boolean; audit_log: boolean; blacklist_patterns: string[]; require_variable_password: boolean; command_blacklist: string[]; run_safety: { disallow_root_delete: boolean; disallow_path_manipulation: boolean; require_command_whitelist: boolean; scrub_output: boolean; redact_patterns: string[]; }; allowed_commands?: string[] | undefined; allowed_patterns?: string[] | undefined; denied_patterns?: string[] | undefined; }; sync: { enabled: boolean; target: string; exclude: string[]; format: "dotenv" | "json" | "yaml"; include?: string[] | undefined; header?: string | undefined; }; session: { path: string; enabled: boolean; timeout_minutes: number; max_extensions: number; lockout_threshold: number; lockout_base_seconds: number; }; encryption: { enabled: boolean; }; keychain: { enabled: boolean; service: string; }; hsm: { type: "yubikey" | "gpg" | "pkcs11"; enabled: boolean; require_touch: boolean; protected_key_path: string; serial?: string | undefined; key_id?: string | undefined; pkcs11_lib?: string | undefined; slot?: number | undefined; }; password: { min_length: number; require_complexity: boolean; allow_numeric_only: boolean; allow_single_char: boolean; }; auth: { method: "keychain" | "hsm" | "password" | "multi"; multi_factors: ("keychain" | "hsm" | "password")[]; fallback: "none" | "password" | "recovery_key"; }; security: { mode: "hard-lock" | "recoverable"; recovery_file: string; brute_force_protection: { enabled: boolean; max_attempts: number; lockout_duration: number; progressive_delay: boolean; max_delay: number; permanent_lockout_threshold: number; permanent_lockout_action: "require_recovery_key" | "require_admin" | "permanent_lock"; notifications: {}; }; }; audit: { enabled: boolean; retain_days: number; fields: { message: boolean; session_id: boolean; client_id: boolean; client_type: boolean; ip: boolean; user_agent: boolean; purpose: boolean; duration_ms: boolean; variable: boolean; }; hmac: boolean; hmac_key_path: string; hmac_chain: boolean; protection: "none" | "append_only" | "immutable" | "remote"; log_path?: string | undefined; remote_ship?: { batch_size: number; retry_count: number; type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; } | undefined; }; project?: string | undefined; variables?: Record | undefined; server?: { api_key?: string | undefined; mode?: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto" | undefined; port?: number | undefined; host?: string | undefined; cors?: boolean | undefined; auto_detect?: boolean | undefined; rate_limit?: { enabled: boolean; requests_per_minute: number; whitelist: string[]; } | undefined; } | undefined; }, { project?: string | undefined; version?: string | undefined; vault?: { default?: "project" | "global" | undefined; mode?: "project" | "global" | undefined; global_path?: string | undefined; } | undefined; storage?: { path?: string | undefined; encrypted?: boolean | undefined; } | undefined; access?: { allow_ai_read?: boolean | undefined; allow_ai_write?: boolean | undefined; allow_ai_delete?: boolean | undefined; allow_ai_export?: boolean | undefined; allow_ai_execute?: boolean | undefined; require_confirmation?: boolean | undefined; allow_ai_active_check?: boolean | undefined; variable_rules?: Record | undefined; client_rules?: Record | undefined; }> | undefined; allow_ai_logs?: boolean | undefined; logs_default_role?: "none" | "full" | "own_sessions" | "readonly" | undefined; logs_roles?: Record | undefined; require_user_reference?: boolean | undefined; allowed_commands?: string[] | undefined; mask_values?: boolean | undefined; audit_log?: boolean | undefined; allowed_patterns?: string[] | undefined; denied_patterns?: string[] | undefined; blacklist_patterns?: string[] | undefined; require_variable_password?: boolean | undefined; command_blacklist?: string[] | undefined; run_safety?: { disallow_root_delete?: boolean | undefined; disallow_path_manipulation?: boolean | undefined; require_command_whitelist?: boolean | undefined; scrub_output?: boolean | undefined; redact_patterns?: string[] | undefined; } | undefined; } | undefined; sync?: { enabled?: boolean | undefined; target?: string | undefined; exclude?: string[] | undefined; include?: string[] | undefined; format?: "dotenv" | "json" | "yaml" | undefined; header?: string | undefined; } | undefined; session?: { path?: string | undefined; enabled?: boolean | undefined; timeout_minutes?: number | undefined; max_extensions?: number | undefined; lockout_threshold?: number | undefined; lockout_base_seconds?: number | undefined; } | undefined; encryption?: { enabled?: boolean | undefined; } | undefined; keychain?: { enabled?: boolean | undefined; service?: string | undefined; } | undefined; hsm?: { type?: "yubikey" | "gpg" | "pkcs11" | undefined; enabled?: boolean | undefined; serial?: string | undefined; require_touch?: boolean | undefined; key_id?: string | undefined; pkcs11_lib?: string | undefined; slot?: number | undefined; protected_key_path?: string | undefined; } | undefined; password?: { min_length?: number | undefined; require_complexity?: boolean | undefined; allow_numeric_only?: boolean | undefined; allow_single_char?: boolean | undefined; } | undefined; auth?: { method?: "keychain" | "hsm" | "password" | "multi" | undefined; multi_factors?: ("keychain" | "hsm" | "password")[] | undefined; fallback?: "none" | "password" | "recovery_key" | undefined; } | undefined; security?: { mode?: "hard-lock" | "recoverable" | undefined; recovery_file?: string | undefined; brute_force_protection?: { enabled?: boolean | undefined; max_attempts?: number | undefined; lockout_duration?: number | undefined; progressive_delay?: boolean | undefined; max_delay?: number | undefined; permanent_lockout_threshold?: number | undefined; permanent_lockout_action?: "require_recovery_key" | "require_admin" | "permanent_lock" | undefined; notifications?: {} | undefined; } | undefined; } | undefined; variables?: Record | undefined; audit?: { enabled?: boolean | undefined; retain_days?: number | undefined; fields?: { message?: boolean | undefined; session_id?: boolean | undefined; client_id?: boolean | undefined; client_type?: boolean | undefined; ip?: boolean | undefined; user_agent?: boolean | undefined; purpose?: boolean | undefined; duration_ms?: boolean | undefined; variable?: boolean | undefined; } | undefined; hmac?: boolean | undefined; hmac_key_path?: string | undefined; hmac_chain?: boolean | undefined; log_path?: string | undefined; protection?: "none" | "append_only" | "immutable" | "remote" | undefined; remote_ship?: { type?: "syslog" | "http" | "file" | undefined; endpoint?: string | undefined; api_key?: string | undefined; batch_size?: number | undefined; retry_count?: number | undefined; } | undefined; } | undefined; server?: { api_key?: string | undefined; mode?: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto" | undefined; port?: number | undefined; host?: string | undefined; cors?: boolean | undefined; auto_detect?: boolean | undefined; rate_limit?: { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; } | undefined; } | undefined; }>; export type EnvCPConfig = z.infer; export declare const VariableSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodString; encrypted: z.ZodDefault; tags: z.ZodOptional>; description: z.ZodOptional; created: z.ZodString; updated: z.ZodString; accessed: z.ZodOptional; sync_to_env: z.ZodDefault; protected: z.ZodDefault; password_hash: z.ZodOptional; protected_value: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; encrypted: boolean; created: string; updated: string; sync_to_env: boolean; name: string; protected: boolean; tags?: string[] | undefined; description?: string | undefined; accessed?: string | undefined; password_hash?: string | undefined; protected_value?: string | undefined; }, { value: string; created: string; updated: string; name: string; encrypted?: boolean | undefined; tags?: string[] | undefined; description?: string | undefined; accessed?: string | undefined; sync_to_env?: boolean | undefined; protected?: boolean | undefined; password_hash?: string | undefined; protected_value?: string | undefined; }>; export type Variable = z.infer; export type LogsRole = 'full' | 'own_sessions' | 'readonly' | 'none'; export declare const OperationLogSchema: z.ZodObject<{ timestamp: z.ZodString; operation: z.ZodEnum<["add", "get", "update", "delete", "list", "sync", "export", "unlock", "lock", "check_access", "run", "auth_failure", "permanent_lockout", "lockout_triggered"]>; variable: z.ZodOptional; source: z.ZodEnum<["cli", "mcp", "api"]>; success: z.ZodBoolean; message: z.ZodOptional; session_id: z.ZodOptional; client_id: z.ZodOptional; client_type: z.ZodOptional; ip: z.ZodOptional; user_agent: z.ZodOptional; purpose: z.ZodOptional; duration_ms: z.ZodOptional; hmac: z.ZodOptional; prev_hmac: z.ZodOptional; chain_index: z.ZodOptional; }, "strip", z.ZodTypeAny, { timestamp: string; operation: "sync" | "add" | "get" | "update" | "delete" | "list" | "export" | "unlock" | "lock" | "check_access" | "run" | "auth_failure" | "permanent_lockout" | "lockout_triggered"; source: "mcp" | "cli" | "api"; success: boolean; message?: string | undefined; session_id?: string | undefined; client_id?: string | undefined; client_type?: string | undefined; ip?: string | undefined; user_agent?: string | undefined; purpose?: string | undefined; duration_ms?: number | undefined; variable?: string | undefined; hmac?: string | undefined; prev_hmac?: string | undefined; chain_index?: number | undefined; }, { timestamp: string; operation: "sync" | "add" | "get" | "update" | "delete" | "list" | "export" | "unlock" | "lock" | "check_access" | "run" | "auth_failure" | "permanent_lockout" | "lockout_triggered"; source: "mcp" | "cli" | "api"; success: boolean; message?: string | undefined; session_id?: string | undefined; client_id?: string | undefined; client_type?: string | undefined; ip?: string | undefined; user_agent?: string | undefined; purpose?: string | undefined; duration_ms?: number | undefined; variable?: string | undefined; hmac?: string | undefined; prev_hmac?: string | undefined; chain_index?: number | undefined; }>; export type OperationLog = z.infer; export declare const SessionSchema: z.ZodObject<{ id: z.ZodString; created: z.ZodString; expires: z.ZodString; extensions: z.ZodDefault; last_access: z.ZodString; }, "strip", z.ZodTypeAny, { created: string; id: string; expires: string; extensions: number; last_access: string; }, { created: string; id: string; expires: string; last_access: string; extensions?: number | undefined; }>; export type Session = z.infer; export declare const ServerConfigSchema: z.ZodObject<{ mode: z.ZodDefault>; port: z.ZodDefault; host: z.ZodDefault; cors: z.ZodDefault; api_key: z.ZodOptional; auto_detect: z.ZodDefault; rate_limit: z.ZodOptional; requests_per_minute: z.ZodDefault; whitelist: z.ZodDefault>; }, "strip", z.ZodTypeAny, { enabled: boolean; requests_per_minute: number; whitelist: string[]; }, { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { mode: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto"; port: number; host: string; cors: boolean; auto_detect: boolean; api_key?: string | undefined; rate_limit?: { enabled: boolean; requests_per_minute: number; whitelist: string[]; } | undefined; }, { api_key?: string | undefined; mode?: "mcp" | "rest" | "openai" | "gemini" | "all" | "auto" | undefined; port?: number | undefined; host?: string | undefined; cors?: boolean | undefined; auto_detect?: boolean | undefined; rate_limit?: { enabled?: boolean | undefined; requests_per_minute?: number | undefined; whitelist?: string[] | undefined; } | undefined; }>; export type ServerConfig = z.infer; export interface ToolDefinition { name: string; description: string; parameters: Record; handler: (params: Record) => Promise; } export interface OpenAIFunction { name: string; description: string; parameters: { type: 'object'; properties: Record; required?: string[]; }; } export interface OpenAIToolCall { id: string; type: 'function'; function: { name: string; arguments: string; }; } export interface OpenAIMessage { role: 'system' | 'user' | 'assistant' | 'tool'; content: string | null; tool_calls?: OpenAIToolCall[]; tool_call_id?: string; } export interface GeminiFunctionDeclaration { name: string; description: string; parameters: { type: 'object'; properties: Record; required?: string[]; }; } export interface GeminiFunctionCall { name: string; args: Record; } export interface GeminiFunctionResponse { name: string; response: Record; } export interface RESTResponse { success: boolean; data?: T; error?: string; timestamp: string; } export type ClientType = 'mcp' | 'openai' | 'gemini' | 'rest' | 'unknown'; //# sourceMappingURL=types.d.ts.map