import { type SettingsContextType } from "@sk-widget/providers/settings";
import type { QueryClient } from "@tanstack/react-query";
import { EitherAsync } from "purify-ts";
import type { InitParams } from "../domain/types/init-params";
export declare const useInitParams: <T = InitParams>(opts?: {
    select: (val: InitParams) => T;
}) => import("@tanstack/react-query").UseQueryResult<import("@tanstack/react-query").NoInfer<T>, Error>;
export declare const getInitParams: (params: Parameters<typeof fn>[0] & {
    queryClient: QueryClient;
}) => EitherAsync<Error, InitParams>;
declare const fn: ({ isLedgerLive, queryClient, externalProviders, whitelistedValidatorAddresses, }: {
    isLedgerLive: boolean;
    queryClient: QueryClient;
    externalProviders: SettingsContextType["externalProviders"];
    whitelistedValidatorAddresses: Set<string> | null;
}) => EitherAsync<Error, InitParams>;
export {};
