import { type ConvertConfig } from './config'; import { type ConvertReceipt } from './receipt'; import { type Exec, type ExternalRun, type Facts, type StageDef } from './stages'; export interface RunOptions { bundle: string; out: string; config: ConvertConfig; exec: Exec; /** External programs for the publish stages (`--publish`). */ run?: ExternalRun; cliVersion: string; /** Hash of the CLI code the stages run (default: this tree's). It is part of every stage's signature: a code fix reruns the stages it can change, with no `--force`. */ codeFingerprint?: string; log?: (line: string) => void; jobs?: number; /** Rerun this stage and everything after it. */ from?: string; /** Stop after this stage (it still counts as run). */ stopAfter?: string; /** Ignore the receipt; run every stage. */ force?: boolean; /** A reason to publish a root whose road-budget audit fails (the validate stage otherwise refuses it); recorded in the receipt. */ allowOverBudget?: string; /** A reason to convert a capture whose buildings are largely unloaded placeholder boxes (the facts stage otherwise refuses it); recorded in the receipt. */ allowPlaceholders?: string; } export declare function listStages(config: ConvertConfig, meshMode?: Facts['meshMode'] | 'unknown', bakedRoads?: boolean): StageDef[]; export declare function runConvert(options: RunOptions): Promise;