import type { YieldDto } from "@stakekit/api-hooks";
import type { QueryClient } from "@tanstack/react-query";
import { EitherAsync } from "purify-ts";
import { type ValidatorsConfig } from "../../../domain/types/yields";
type Params = {
    yieldId: string;
    isLedgerLive: boolean;
    validatorsConfig: ValidatorsConfig;
    signal?: AbortSignal;
};
export declare const getYieldOpportunity: (params: Params & {
    queryClient: QueryClient;
}) => EitherAsync<Error, YieldDto>;
export declare const queryFn: (params: Params & {
    signal?: AbortSignal;
}) => Promise<YieldDto>;
export {};
