import type { QueryOptions } from '../types';
import type { components } from './configurations.contract';
type SuccessResponse = components['schemas']['VersionResponse'];
/**
 * Retrieves from the backend information about the version and features/experiments
 * linked to the legalEntityId
 *
 * @param id legalEntityId
 * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
 */
export declare const getVersionConfiguration: (legalEntityId: string, url: string) => Promise<SuccessResponse>;
export declare const useVersionConfiguration: (options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
    features?: string[];
    version?: number;
}, Error>;
export {};
