/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * @file Convert a recipe output written before `recipe`/`register`/`surface` to the current row schema. * * `recipe` and `base_source_id` are renames of `synth_method` and `synth_base_id`, so they assert no new claim. * `register` is `mailwoman-derived-tuples` for every row, because naming a publisher would record inference as fact. */ import type { PathBuilderLike } from "path-ts"; import { SurfaceOrigin } from "#types"; /** * How each source id's recipe produced its surface. * * A source absent from this table refuses rather than taking a default. */ export declare const RECIPE_SURFACES: Record; /** * What a migration pass observed. */ export interface MigrationSummary { rows: number; bySource: Record; alreadyMigrated: number; } /** * The surface for one source id, refusing a source the table does not name. */ export declare function surfaceForSource(source: string): SurfaceOrigin; /** * Rewrite one recipe output onto the current row schema, passing an already-migrated * row through untouched so a half-migrated file converges. */ export declare function migrateRecipeOutput(input: PathBuilderLike, output: PathBuilderLike): Promise; //# sourceMappingURL=recipe-output.d.ts.map