/**
 * Execution Limits Configuration
 *
 * Centralized configuration for all execution limits to prevent runaway compute.
 * These limits can be overridden when creating a Bash instance.
 */
/**
 * Configuration for execution limits.
 * All limits are optional - undefined values use defaults.
 */
export interface ExecutionLimits {
    /** Maximum function call/recursion depth (default: 100) */
    maxCallDepth?: number;
    /** Maximum number of commands to execute (default: 10000) */
    maxCommandCount?: number;
    /** Maximum loop iterations for bash while/for/until loops (default: 10000) */
    maxLoopIterations?: number;
    /** Maximum loop iterations for AWK while/for loops (default: 10000) */
    maxAwkIterations?: number;
    /** Maximum command iterations for SED (branch loops) (default: 10000) */
    maxSedIterations?: number;
    /** Maximum iterations for jq loops (until, while, repeat) (default: 10000) */
    maxJqIterations?: number;
    /** Maximum sqlite3 query execution time in milliseconds (default: 5000) */
    maxSqliteTimeoutMs?: number;
    /** Maximum Python execution time in milliseconds (default: 10000, or 60000 with network) */
    maxPythonTimeoutMs?: number;
    /** Maximum JavaScript (js-exec) execution time in milliseconds (default: 10000, or 60000 with network) */
    maxJsTimeoutMs?: number;
    /** Maximum glob filesystem operations (default: 100000) */
    maxGlobOperations?: number;
    /** Maximum string length in bytes (default: 10MB = 10485760) */
    maxStringLength?: number;
    /** Maximum array elements (default: 100000) */
    maxArrayElements?: number;
    /** Maximum heredoc size in bytes (default: 10MB = 10485760) */
    maxHeredocSize?: number;
    /** Maximum command substitution nesting depth (default: 50) */
    maxSubstitutionDepth?: number;
    /** Maximum brace expansion results (default: 10000) */
    maxBraceExpansionResults?: number;
    /** Maximum total output size (stdout + stderr) in bytes (default: 10MB = 10485760) */
    maxOutputSize?: number;
    /** Maximum number of open file descriptors (default: 1024) */
    maxFileDescriptors?: number;
    /** Maximum source/. nesting depth (default: 100) */
    maxSourceDepth?: number;
    /** Maximum estimated memory usage in bytes (default: 50MB) */
    maxMemoryAccountingBytes?: number;
    /** Maximum total CPU time in milliseconds (default: 30000) */
    maxCpuMs?: number;
    /** Maximum number of parallel sub-agents (default: 10) */
    maxSubAgents?: number;
    /** Maximum sub-agent nesting depth (default: 3) */
    maxAgentNesting?: number;
    /** Maximum network traffic in bytes per execution (default: 50MB) */
    maxNetworkTrafficBytes?: number;
    /** Maximum number of simultaneous MCP server connections (default: 5) */
    maxMcpServers?: number;
    /** Maximum total MCP tool calls per execution (default: 50) */
    maxMcpToolCalls?: number;
    /** Maximum number of tracked tasks (default: 100) */
    maxTasks?: number;
    /** Maximum number of agent teams (default: 10) */
    maxTeams?: number;
    /** Maximum inter-agent messages retained (default: 1000) */
    maxAgentMessages?: number;
    /** Maximum number of cron jobs (default: 20) */
    maxCronJobs?: number;
    /** Maximum cron fires per hour (default: 60) */
    maxCronFiresPerHour?: number;
    /** Maximum web searches per minute (default: 10) */
    maxWebSearchesPerMinute?: number;
    /** Maximum web fetch cache size in bytes (default: 50MB) */
    maxWebFetchCacheSizeBytes?: number;
    /** Maximum AST cache entries (default: 1000) */
    astCacheSize?: number;
}
/**
 * Resolve execution limits by merging user-provided limits with defaults.
 */
export declare function resolveLimits(userLimits?: ExecutionLimits): Required<ExecutionLimits>;
