import { type Registry } from './schema'; export interface AppBuildOptions { /** The app's folder: where its `package.json` and `src/` are. Ship's is `web`. */ root?: string; /** The name its entries are recorded under — `peek`, `ship`. Defaults to the app's package name. */ repo?: string; /** The package's own catalogue, for the parts an app part shares a name with. Defaults to the one this builder ships beside. */ packageRegistry?: Registry | null; /** The packages the package itself depends on. An import of one never ties a part to its app. Defaults to the package's own. */ packageDependencies?: string[]; } /** * Read one app and return its catalogue. * * Throws on anything it cannot explain, with every problem at once: a part with * no purpose, a written kind it does not know. A catalogue that quietly drops * what it could not read would answer "we have nothing for that" when the * truth is "the builder gave up". */ export declare function buildAppRegistry({ root, repo, packageRegistry, packageDependencies }?: AppBuildOptions): Registry; //# sourceMappingURL=app.d.ts.map