import type { AgentAdapter, FileCommitter, ImportConfig, ImportPipeline, PreviewBuilder, SessionFinder, SessionLander, TokenEstimator, TransferRules } from "./contract.js"; /** The four stages, and the services they are driven with. `wiring.ts` builds them. */ export interface PipelineStages { finder: SessionFinder; rules: TransferRules; /** A preview builder that reads the repository the request names. */ previewFor(repoRoot: string): PreviewBuilder; lander: SessionLander; /** Every adapter the composition root constructed. This module only looks one up. */ adapters: readonly AgentAdapter[]; config: ImportConfig; estimator: TokenEstimator; committer: FileCommitter; /** ISO-8601 UTC. Only the landing reads it, so a preview and a commit agree (FR-47). */ now(): string; } export declare function createPipelineFromStages(stages: PipelineStages): ImportPipeline;