/**
 * Account Resolution — Executor-level account management
 *
 * Extracted from executor/index.ts (Phase 05).
 * Handles:
 * - --accounts listing (early exit)
 * - --use <account> switching
 * - --nickname rename
 * - Default account touch (lastUsedAt update)
 * - Account safety guards (cross-provider isolation, ban risk, stale pauses)
 * - Runtime quota monitor provider resolution
 */
import { CLIProxyProvider } from '../types';
import { type ManagedQuotaProvider } from '../quota/quota-manager';
/**
 * Determine which managed quota providers need runtime monitoring.
 * For composite variants, checks all tier providers; otherwise checks the
 * single active provider.
 */
export declare function resolveRuntimeQuotaMonitorProviders(provider: CLIProxyProvider, compositeProviders: CLIProxyProvider[]): ManagedQuotaProvider[];
/**
 * Apply account safety guards: stale auto-pause cleanup, provider isolation,
 * cross-provider duplicate warnings, and OAuth ban risk warnings.
 *
 * Registers process.on('exit') restore handler when isolation is enforced.
 */
export declare function applyAccountSafetyGuards(provider: CLIProxyProvider, _compositeProviders: CLIProxyProvider[]): void;
export interface AccountResolutionContext {
    provider: CLIProxyProvider;
    /** True when running in composite variant mode */
    showAccounts: boolean;
    useAccount: string | undefined;
    setNickname: string | undefined;
    addAccount: boolean;
}
export interface AccountResolutionResult {
    /** true if --accounts listing was shown (caller should return early) */
    earlyExit: boolean;
}
/**
 * Handle account management CLI flags:
 * --accounts (list + early exit), --use (switch), --nickname (rename).
 *
 * Also calls warnOAuthBanRisk for the active provider.
 */
export declare function resolveAccounts(ctx: AccountResolutionContext): Promise<AccountResolutionResult>;
/**
 * Touch the default account's lastUsedAt timestamp.
 * Called after authentication succeeds and before proxy spawn.
 */
export declare function touchDefaultAccount(provider: CLIProxyProvider): void;
//# sourceMappingURL=account-resolution.d.ts.map