/**
 * Resolve configuration values that may be shell commands, environment variables, or literals.
 * Used by model-registry.ts for apiKey and headers resolution.
 */
/**
 * Resolve a config value (API key, header value, etc.) to an actual value.
 * - If starts with "!", executes the rest as a shell command and uses stdout (cached)
 * - If matches an environment variable name (all uppercase with underscores), uses env value
 * - Otherwise treats as literal value
 */
export declare function resolveConfigValue(config: string): string | undefined;
/**
 * Resolve all header values using the same resolution logic as API keys.
 */
export declare function resolveHeaders(headers: Record<string, string> | undefined): Record<string, string> | undefined;
/** Clear the config value command cache. Exported for testing. */
export declare function clearConfigValueCache(): void;
/** Get cache statistics for monitoring */
export declare function getCacheStats(): {
    size: number;
    maxSize: number;
    ttlMs: number;
};
/**
 * Test API key resolution without caching (for UI testing)
 * SECURITY: This function validates commands against a whitelist
 */
export declare function testApiKeyResolution(value: string): {
    type: 'literal' | 'env' | 'command';
    resolved?: string;
    error?: string;
};
/**
 * Get the list of allowed commands (for documentation/UI)
 */
export declare function getAllowedCommands(): string[];
