/**
 * Droid BYOK provider resolution helpers.
 *
 * Factory BYOK accepts exactly:
 * - anthropic
 * - openai
 * - generic-chat-completion-api
 *
 * CCS stores provider hints in profile settings as CCS_DROID_PROVIDER and
 * resolves a best-effort provider from base URL/model when the hint is absent.
 */
export type DroidProvider = 'anthropic' | 'openai' | 'generic-chat-completion-api';
/**
 * Normalize potentially messy provider input into a valid Factory provider.
 */
export declare function normalizeDroidProvider(provider: string | undefined | null): DroidProvider | null;
/**
 * Infer provider primarily from base URL patterns used in BYOK configs.
 */
export declare function inferDroidProviderFromBaseUrl(baseUrl: string | undefined | null): DroidProvider | null;
/**
 * Infer provider from model naming when URL does not provide a clear signal.
 */
export declare function inferDroidProviderFromModel(model: string | undefined | null): DroidProvider | null;
export interface DroidProviderResolveInput {
    provider?: string | null;
    baseUrl?: string | null;
    model?: string | null;
}
/**
 * Resolve a provider for Droid custom model entries.
 *
 * Precedence:
 * 1) explicit provider hint (CCS_DROID_PROVIDER)
 * 2) base URL inference
 * 3) model inference
 * 4) anthropic (backward-compatible default for legacy CCS profiles)
 */
export declare function resolveDroidProvider(input: DroidProviderResolveInput): DroidProvider;
//# sourceMappingURL=droid-provider.d.ts.map