interface VersionPath { path: string; type: string; version: string; } interface PackageInfo extends VersionPath { name: string; } type FnString = () => string | undefined; /** * @name detectPackage * @summary Checks that a specific package is only imported once * @description A `@polkadot/*` version detection utility, checking for one occurence of a package in addition to checking for ddependency versions. */ export declare function detectPackage({ name, path, type, version }: PackageInfo, pathOrFn?: FnString | string | false | null, deps?: PackageInfo[]): void; export {};