import type { Platform } from '../agents/types.js'; export type ProviderResolutionSource = 'explicit' | 'env' | 'runtime-env' | 'process' | 'config' | 'deployment' | 'default' | 'ambiguous'; export interface ProviderResolution { provider: Platform | null; source: ProviderResolutionSource; candidates: Platform[]; reason: string; } export declare function normalizeProviderId(provider: string | undefined | null): Platform | null; export declare function capabilityProviderId(provider: Platform | string | null): string | null; export declare function commandLooksLikeProvider(command: string): Platform | null; export declare function detectProviderFromProcessTree(pid?: number): Platform | null; export declare function resolveActiveProvider(options: { cwd: string; explicitProvider?: string; env?: NodeJS.ProcessEnv; defaultProvider?: Platform | null; detectProcess?: boolean; }): Promise; //# sourceMappingURL=provider-resolution.d.ts.map