import type { Domain } from '@heroku/types/3.sdk'; import type { ResourceCtx } from '../../../core/extend-resource.js'; import type { CreateAndWaitOptions } from './types.js'; /** * Create a domain with SNI endpoint resolution and optional waiting. * * Steps: * 1. If no explicit sniEndpoint option, list SNI endpoints on the app * 2. If multiple SNI endpoints, call resolveSniEndpoint callback * 3. Create the domain with SNI endpoint (defaults to null if not resolved) * 4. If wait: true, poll until domain reaches ready status */ export declare function createAndWait(ctx: Pick, appIdentity: string, hostname: string, options?: CreateAndWaitOptions): Promise;