import type { Wallet } from "@solana/wallet-adapter-react";
import type { Connection } from "@solana/web3.js";
import type { Networks } from "@stakekit/common";
import type { Chain, WalletList } from "@stakekit/rainbowkit";
import type { QueryClient } from "@tanstack/react-query";
import { EitherAsync, Maybe } from "purify-ts";
import { type MiscChainsMap } from "../../domain/types/chains/misc";
declare const queryFn: ({ enabledNetworks, forceWalletConnectOnly, solanaWallets, solanaConnection, }: {
    enabledNetworks: Set<Networks>;
    forceWalletConnectOnly: boolean;
    solanaWallets: Wallet[];
    solanaConnection: Connection;
}) => Promise<{
    miscChainsMap: Partial<MiscChainsMap>;
    miscChains: Chain[];
    connectors: Maybe<{
        groupName: string;
        wallets: WalletList[number]["wallets"];
    }>[];
}>;
export declare const getConfig: (opts: Parameters<typeof queryFn>[0] & {
    queryClient: QueryClient;
}) => EitherAsync<Error, {
    miscChainsMap: Partial<MiscChainsMap>;
    miscChains: Chain[];
    connectors: Maybe<{
        groupName: string;
        wallets: WalletList[number]["wallets"];
    }>[];
}>;
export {};
