/**
 * ADR-PIPELINE-072 §1 — Pre-Render Analysis Pass coordinator.
 *
 * Orchestrates:
 *   1. Classify sector from query + domain analysis
 *   2. Compute bottom-up unit economics via `computePreRenderUnitEconomics`
 *   3. Write `<runDir>/unit-economics.json` with `source='prototype-preview'`
 *
 * Runs BEFORE `renderExecutiveSummary`, `renderDecisionMemo`, and
 * `renderFinancialAnalysis` so the ADR-066 tier-1 manifest path fires on
 * every run.
 *
 * The module is purely additive: if it fails (unknown sector, I/O error,
 * schema validation) the renderers fall back to ADR-066 tier-3 heuristic +
 * mandatory warning banner — which is the exact behavior before this ADR.
 * Never blocks the pipeline.
 */
import type { DomainAnalysis } from '../../synthesis/simulation-renderers.js';
import { type UnitEconomics } from '../types.js';
import { type PreRenderFinancialOutput } from './financial-model.js';
export interface PreRenderInput {
    readonly runDir: string;
    readonly runId: string;
    readonly query: string;
    /** Scenario artifact (already built in simulation-artifact-generator). */
    readonly scenarioArtifact?: Record<string, unknown> | null;
    /** Domain analysis from ADR-PIPELINE-041 enrichment. */
    readonly domainAnalysis?: DomainAnalysis | null;
}
export type PreRenderOutcome = {
    readonly status: 'emitted';
    readonly manifestPath: string;
    readonly manifest: UnitEconomics;
    readonly metrics: PreRenderFinancialOutput['metrics'];
} | {
    readonly status: 'skipped';
    readonly reason: 'unknown-sector' | 'schema-rejected' | 'io-error' | 'existing-prototype-manifest';
    readonly detail?: string;
};
/**
 * Run the pre-render pass. Never throws. Returns an `emitted` result on
 * success or a `skipped` result with a reason when the pass can't produce
 * a preview manifest.
 */
export declare function executePreRender(input: PreRenderInput): PreRenderOutcome;
export declare function readManifestIfExists(manifestPath: string): UnitEconomics | null;
//# sourceMappingURL=pre-render-coordinator.d.ts.map