import type { AirExtension, ResolvedArtifacts, RootEntry } from "@pulsemcp/air-core"; export interface RunTransformsOptions { /** Extensions that provide transforms, in declaration order */ transforms: AirExtension[]; /** All config files written by the adapter (e.g., .mcp.json, settings.json) */ configFiles: string[]; /** Target directory being prepared */ targetDir: string; /** Root being activated */ root?: RootEntry; /** Full resolved artifacts */ artifacts: ResolvedArtifacts; /** Parsed CLI option values contributed by extensions */ extensionOptions: Record; /** Paths to hook directories injected by the adapter (each contains a HOOK.json) */ hookPaths?: string[]; } /** * Run transforms sequentially on all config files produced by the adapter. * * For each config file: reads it, pipes the content through each transform in * declaration order, then writes the result back. For `.mcp.json` specifically, * HOOK.json contents are merged in before transforms and written back separately * afterward (hooks are stripped from the persisted `.mcp.json`). * * No-op if there are no transforms or no config files. */ export declare function runTransforms(opts: RunTransformsOptions): Promise; //# sourceMappingURL=transform-runner.d.ts.map