import type { ProviderId, OAuthResult } from './types';
export interface OAuthRunnerOptions {
    /** Skip the actual subprocess — useful for tests. Just returns ok=true. */
    dryRun?: boolean;
    /** Override the CLI binary lookup — useful for tests. */
    cliPath?: string;
}
/**
 * Top-level OAuth dispatcher — picks the right runner per provider.
 * Throws PROVIDER_NOT_OAUTH if called for a provider without OAuth support.
 */
export declare function runOAuth(provider: ProviderId, opts?: OAuthRunnerOptions): Promise<OAuthResult>;
