/** * Where a Burdenoff store plugin's code comes from (BOFF-8686). * * A store product is installed by pulling an npm package onto the agent, and the package * is named by the product's manifest (`digital.install.packageName`, optionally pinned by * `digital.install.version`). That is the "source" a person must be able to see before * approving an install, and a product whose manifest names no package cannot be installed * at all. */ export interface StoreInstallSource { packageName: string; /** The pinned version, or null when the manifest does not pin one. */ version: string | null; } /** The install source in a product manifest, or null when it names no package. */ export declare function storeInstallSource(manifest: Record | null | undefined): StoreInstallSource | null; /** `name` or `name@version`: the exact package spec an install downloads. */ export declare function formatStoreInstallSource(source: StoreInstallSource): string;