import type { SubrouterHttpClient } from "@awp/provider-account-subrouter";
export type AccountLoginState = "starting" | "waiting-for-user" | "importing" | "complete" | "failed";
export interface AccountLoginStatus {
    readonly id: string;
    readonly provider: "codex";
    readonly state: AccountLoginState;
    readonly output: string;
    readonly account?: string;
    readonly error?: string;
}
export declare class AccountLoginManager {
    private readonly subrouter;
    private readonly codexCommand;
    private readonly sessions;
    constructor(subrouter: SubrouterHttpClient, codexCommand?: string);
    startCodex(): Promise<AccountLoginStatus>;
    get(id: string): AccountLoginStatus | undefined;
}
//# sourceMappingURL=account-login.d.ts.map