import type { PipelinePromotion, PipelinePromotionCreateOpts, PipelinePromotionTarget } from '@heroku/types/3.sdk'; import type { ResourceCtx } from '../../../core/extend-resource.js'; export type ReleaseStreamContext = { stream: ReadableStream; target: PipelinePromotionTarget; }; export type PromotePipelineOptions = { intervalMs?: number; onReleaseStream?: (context: ReleaseStreamContext) => Promise | void; releaseStreamMaxAttempts?: number; signal?: AbortSignal; timeoutMs?: number; }; export type PromotePipelineResult = { promotion: PipelinePromotion; targets: PipelinePromotionTarget[]; }; export declare function promotePipeline(ctx: Pick, body: PipelinePromotionCreateOpts, options?: PromotePipelineOptions): Promise; export declare const pipelinePromotionExtensions: import("../../../core/extend-resource.js").ResourceExtension<"platform", "pipelinePromotion", { promote: (body: PipelinePromotionCreateOpts, options?: PromotePipelineOptions) => Promise; }>;