import type { WalletOption, WalletOptionOrdering } from '../walletOptionsCatalogue.types';
type SortWalletOptionsParams = {
    ordering: WalletOptionOrdering;
    walletOptions: WalletOption[];
};
/**
 * Sorts the outer wallet-option list. This is the only ordering controlled
 * by the customer; the inner `connectionOptions` array of each wallet
 * option is ordered separately by `sortConnectionOptions` using a fixed
 * option-type priority.
 *
 * - `'relevance'` (default): bucket wallet options into three tiers, in
 *   this order:
 *     1. **Installed provider** — user already has the wallet available
 *        (`withWalletProvider` at index 0).
 *     2. **Connectable** — has at least one connection (URI deeplink
 *        or `inAppBrowser`) but no installed provider.
 *     3. **Install-only** — no connection at all; only `installationUrls`.
 *   Within each tier, rank by the hand-curated {@link PRIORITY_WALLET_KEYS}
 *   list (MetaMask, Coinbase, Phantom, …); unknown wallets fall through to
 *   alphabetical-by-name order at the tail of their tier.
 * - `'alphabetical'`: case-insensitive sort by wallet option `name`,
 *   without bucketing.
 *
 * Returns a new array — the input is not mutated.
 *
 * @param params.walletOptions - The wallet options to sort.
 * @param params.ordering - The requested ordering.
 * @returns A new array in the requested order.
 * @notInstrumented
 */
export declare const sortWalletOptions: ({ walletOptions, ordering, }: SortWalletOptionsParams) => WalletOption[];
export {};
//# sourceMappingURL=sortWalletOptions.d.ts.map