/** One part an app declares. */ export interface Part { /** The package name inside the part: what the app imports, and what it is installed as. */ package: string; /** Where it is, resolved against the URL the app was fetched from. */ url: string; /** Its whole-file hash, `:`. */ hash: string; } /** What a pin looks like: `:`. */ export declare const PIN_PATTERN = "^[a-z0-9-]+:[0-9a-f]{32,}$"; /** * The parts a package.json declares under `bundle.parts`, checked; or * undefined when it declares none. A declaration that does not hold together * is an error, never a quietly shorter list. */ export declare function readParts(manifest: unknown, where: string): Part[] | undefined; /** The pins parts make: package name to hash. */ export declare function pinsOf(parts: Part[]): Record; //# sourceMappingURL=parts.d.ts.map