export interface OnboardOptions { name: string; verbose?: boolean; /** Monorepo root to patch. Defaults to the root this module lives in. */ root?: string; } export interface OnboardResult { success: boolean; patched: string[]; skipped: string[]; error?: string; } export interface PatchResult { patched: boolean; reason?: string; } /** * Patch the root tsconfig.json `paths` map (#1614). * * The whole-repo typecheck runs with `moduleResolution: node`, which never * reads package exports maps, so every lexicon needs a bare + subpath * mapping here or an example importing the package fails to resolve. */ export declare function patchRootTsconfigPaths(root: string, name: string): PatchResult; /** * Insert a new prepack line after every last-in-group prepack line (groups of 1+). * Used for publish.yml and Dockerfiles that list one RUN per lexicon. */ export declare function insertPrepackAfterEach(lines: string[], name: string): boolean; /** * Patch a smoke Dockerfile so it covers the lexicon. * * Two layouts exist. Loop-based files (`for lex in aws gcp ...; do`) get the * name appended to every loop list. Per-lexicon files (`RUN npm run --prefix * lexicons/ prepack` lines) get one more RUN line. A file that already * covers the lexicon either way is reported as such and left untouched. */ export declare function patchDockerfile(filePath: string, name: string): PatchResult; /** * Execute the onboard command — patches monorepo infrastructure for a new lexicon. */ export declare function onboardCommand(options: OnboardOptions): OnboardResult; /** * Print onboard results and remaining manual steps. */ export declare function printOnboardResult(result: OnboardResult, name: string): Promise; //# sourceMappingURL=onboard.d.ts.map