import { a as HostAlias } from './provider-core-BiAl8MCV.js'; interface LlmConnectionConfig { /** The original connection string */ raw: string; /** Provider's API host (e.g. "api.openai.com") */ host: string; /** Short provider alias that was expanded to host, if any. */ hostAlias?: HostAlias; /** Model name (e.g. "gpt-5.2") */ model: string; /** Optional label or app name */ label?: string; /** Optional API key or password */ apiKey?: string; /** Additional config parameters (temp, max_tokens, etc.) */ params: Record; } /** * Parse an LLM connection string into its component parts. * * Format: `llm://[label[:apiKey]@]host/model[?key=value&...]` * * @example * ```ts * parse("llm://api.openai.com/gpt-5.2?temp=0.7&max_tokens=1500") * parse("llm://app-name:sk-proj-123456@api.openai.com/gpt-5.2?temp=0.7") * ``` */ declare function parse(connectionString: string): LlmConnectionConfig; /** * Build an LLM connection string from a config object. */ declare function build(config: Omit): string; export { type LlmConnectionConfig, build, parse };