/**
 * LiteLLM Executor - Execute LiteLLM endpoints with context caching
 * Integrates with context-cache for file packing and LiteLLM client for API calls
 */
import type { CliOutputUnit } from './cli-output-converter.js';
export interface LiteLLMExecutionOptions {
    prompt: string;
    endpointId: string;
    baseDir: string;
    cwd?: string;
    includeDirs?: string[];
    enableCache?: boolean;
    onOutput?: (unit: CliOutputUnit) => void;
    /** Number of retries after the initial attempt (default: 0) */
    maxRetries?: number;
    /** Base delay for exponential backoff in milliseconds (default: 1000) */
    retryBaseDelayMs?: number;
}
export interface LiteLLMExecutionResult {
    success: boolean;
    output: string;
    model: string;
    provider: string;
    cacheUsed: boolean;
    cachedFiles?: string[];
    error?: string;
}
/**
 * Extract @patterns from prompt text
 */
export declare function extractPatterns(prompt: string): string[];
/**
 * Execute LiteLLM endpoint with optional context caching
 */
export declare function executeLiteLLMEndpoint(options: LiteLLMExecutionOptions): Promise<LiteLLMExecutionResult>;
//# sourceMappingURL=litellm-executor.d.ts.map