import type { QueryClient } from "@tanstack/react-query";
import { EitherAsync } from "purify-ts";
import type { InitParams } from "../domain/types/init-params";
import type { ValidatorsConfig } from "../domain/types/yields";
import type { SettingsContextType } from "../providers/settings/types";
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, validatorsConfig, }: {
    isLedgerLive: boolean;
    queryClient: QueryClient;
    externalProviders: SettingsContextType["externalProviders"];
    validatorsConfig: ValidatorsConfig;
}) => EitherAsync<Error, InitParams>;
export {};
