import { type OnboardBrief } from "../../src/onboard/brief.ts"; import { crawlSite } from "./crawl.ts"; export type GatherOptions = { kernelRoot: string; siteRoot: string; slug: string; sourceUrl: string; name?: string; /** Emergency abort only — undefined means crawl every same-site page. Do not pass 35 by habit. */ maxPages?: number; noPrompt: boolean; skipImages?: boolean; /** Force fetch crawler (skip Playwright). */ fetchOnly?: boolean; fresh?: boolean; }; export declare function persistOnboard(dest: string, brief: OnboardBrief, extras?: { pages?: import("../../src/onboard/extract.ts").ExtractedPage[]; copyMarkdown?: Map; exclusions?: import("../../src/onboard/harvest-inventory.ts").HarvestExclusion[]; engine?: "playwright" | "fetch"; unvisited?: string[]; }): void; export declare function gatherOnboard(opts: GatherOptions): Promise<{ brief: OnboardBrief; pages: import("../../src/onboard/extract.ts").ExtractedPage[]; copyMarkdown: Map; crawl: Awaited>; }>; export declare function gatherBlankOnboard(opts: { slug: string; name: string; noPrompt: boolean; }): Promise<{ brief: OnboardBrief; pages: import("../../src/onboard/extract.ts").ExtractedPage[]; copyMarkdown: Map; }>;