/** * Some extensions register multiple Wallet Standard names (e.g. "MPCVault", "Petra", * "Nightly") that all point at the same Chrome Web Store listing. Chrome still shows * separate extensions; the duplicate rows are bogus adapter metadata. Collapse them * to a single entry per store extension id. * * @see https://chromewebstore.google.com/detail// */ /** Last path segment for .../detail// */ export declare function chromeWebStoreExtensionId(url: string): string | null; /** Middle segment: .../detail// */ export declare function chromeWebStoreListingSlug(url: string): string | null; export type WalletWithInstallLink = { readonly name: string; readonly url: string; }; /** * One wallet per Chrome Web Store extension id. When several names share the same id, * keep the row whose name best matches the listing slug (e.g. mpcvault for /detail/mpcvault/id). */ export declare function dedupeExtensionWalletsByChromeStoreId(wallets: readonly T[]): T[]; //# sourceMappingURL=dedupeChromeStoreWallets.d.ts.map