import type { Chain, WalletList } from "@stakekit/rainbowkit";
import type { QueryClient } from "@tanstack/react-query";
import { EitherAsync, Maybe } from "purify-ts";
import { type SubstrateChainsMap } from "../../domain/types/chains/substrate";
declare const queryFn: ({ queryClient, forceWalletConnectOnly, }: {
    queryClient: QueryClient;
    forceWalletConnectOnly: boolean;
}) => Promise<{
    substrateChainsMap: Partial<SubstrateChainsMap>;
    substrateChains: Chain[];
    connector: Maybe<{
        groupName: string;
        wallets: WalletList[number]["wallets"];
    }>;
}>;
export declare const getConfig: (opts: Parameters<typeof queryFn>[0]) => EitherAsync<Error, {
    substrateChainsMap: Partial<SubstrateChainsMap>;
    substrateChains: Chain[];
    connector: Maybe<{
        groupName: string;
        wallets: WalletList[number]["wallets"];
    }>;
}>;
export {};
