import type { Domain } from '@heroku/types/3.sdk'; import type { ResourceCtx } from '../../../core/extend-resource.js'; export type WaitForACMCertificatesOptions = { /** * Base polling interval in milliseconds. Defaults to 15000 (the * CLI's 15s base). The effective delay grows with the CLI's backoff * formula, scaled off this value. */ intervalMs?: number; /** * Abort signal to cancel the operation. */ signal?: AbortSignal; /** * Maximum time in milliseconds to wait before giving up. * If undefined, waits indefinitely (preserving the CLI's * poll-forever behavior) until the signal aborts. */ timeoutMs?: number; }; /** * Waits for ACM (Automated Certificate Management) certificates to be * issued on all custom domains of an app. * * Polls the app's domains until every `custom` domain reaches a * terminal `acm_status` of `'cert issued'` or `'failed'`, then returns * the custom domains. `heroku` domains are ignored and never block * termination. * * @throws if any custom domain finishes with `acm_status: 'failed'` * (`'ACM not enabled for some domains'`), or if `timeoutMs` elapses * before all custom domains reach a terminal status. */ export declare function waitForACMCertificates(ctx: Pick, appIdentity: string, options?: WaitForACMCertificatesOptions): Promise;