/** * Polling helpers for Checkout Intents. */ import { CheckoutIntentsResource, CheckoutIntent } from "../resources/checkout-intents.js"; import { RequestOptions } from "../internal/request-options.js"; /** * Options for polling operations. */ export interface PollOptions { /** * The interval in milliseconds between polling attempts. */ pollIntervalMs?: number; /** * The maximum number of polling attempts before timing out. */ maxAttempts?: number; } /** * Core polling implementation. Polls a checkout intent until a condition is met. */ export declare function pollUntil(resource: CheckoutIntentsResource, id: string, condition: (intent: CheckoutIntent) => intent is T, options?: RequestOptions & PollOptions): Promise; //# sourceMappingURL=polling.d.ts.map