import { type OperationOutcome } from '../../utils/blueprints/wait-for.js';
import type { Logger } from '../../utils/logger.js';
import type { AuthParams } from '../../utils/types.js';
export interface WaitForOperationOptions {
    stackId: string;
    operationId: string;
    auth: AuthParams;
    log: Logger;
    bin: string;
    verbose?: boolean;
    /** Keep the operation queryable after the stack is gone (destroy). */
    includeDestroyed?: boolean;
    /** Noun for the idle message, e.g. "deployment" or "destruction". */
    progressNoun: string;
}
/**
 * Stream logs and poll an operation until it settles.
 * handles log-stream lifecycle, retry budget, and idle messaging;
 * the caller maps the returned outcome to its own result/messaging.
 */
export declare function waitForOperation(options: WaitForOperationOptions): Promise<OperationOutcome>;
