/**
 * Route53 domain-registration polling — pure, reusable by the buy command and
 * the domain provisioning daemon. The AWS status string is classified into a
 * terminal/pending verdict; pollRegistrationUntilDone drives it to completion
 * with an injectable status getter + sleep (so it is fully unit-testable).
 */
export type RegVerdict = "pending" | "success" | "failed";
export declare function classifyRegistrationStatus(status: string): RegVerdict;
export interface PollResult {
    status: "success" | "failed" | "timeout";
    attempts: number;
    message?: string;
}
export interface PollOptions {
    getStatus: (operationId: string) => Promise<{
        status: string;
        message?: string;
    }>;
    maxAttempts?: number;
    intervalMs?: number;
    sleep?: (ms: number) => Promise<void>;
}
export declare function pollRegistrationUntilDone(operationId: string, opts: PollOptions): Promise<PollResult>;
//# sourceMappingURL=registration-poll.d.ts.map