/** * Package provenance: the .nori-version sidecar file. * * The single owner of the on-disk format recording which version of a * package was installed from which registry. */ export declare const VERSION_FILE = ".nori-version"; export type VersionInfo = { version: string; registryUrl: string; orgId?: string | null; }; /** * Write the .nori-version file into a package directory. * * @param args - Arguments * @param args.dir - Package directory * @param args.versionInfo - Version provenance to record */ export declare const writeVersionInfo: (args: { dir: string; versionInfo: VersionInfo; }) => Promise; /** * Read the .nori-version file from a package directory. * * @param args - Arguments * @param args.dir - Package directory * * @returns The recorded version info, or null when missing or malformed */ export declare const readVersionInfo: (args: { dir: string; }) => Promise; //# sourceMappingURL=provenance.d.ts.map