import type { CommandHandler, CommandSpec } from "../shared.ts"; import type { SchemaManifest } from "../manifest.ts"; /** * Build the `ufp capture` handler. * * The manifest is the command's one file-system dependency beyond the bundle it writes, so it arrives as a parameter rather than being reached for inside the flow. * The default is the shipped manifest, which is what the registered command uses and therefore what production runs; a test supplies a fixture loader instead, so the * novelty a run reports is decided by a manifest the test can read beside its assertions rather than by whatever the last build happened to emit. * * @param loadManifest - How to obtain the schema manifest; defaults to the one this package ships. * * @returns The command handler. * * @category CLI */ export declare function createCaptureHandler(loadManifest?: () => Promise): CommandHandler; /** * `ufp capture`. Fetches a fresh bootstrap, diffs it against the schema manifest this package ships, then watches both realtime rails for the rest of the window and * writes one scrubbed bundle describing everything the controller said that this library does not model. * * The command exists to make one ask of a field user possible: run this, send back the file. So the bundle is the product and standard output is only narration, the * scrub is unconditional rather than a flag, and Ctrl-C at any point after the diff still writes a usable file. * * @category CLI */ export declare const capture: CommandSpec; //# sourceMappingURL=capture.d.ts.map