import { useQuery } from '@tanstack/react-query';
import type { BffCatalogEntityRevision, BffCatalogEntityRevisionList } from '@redocly/theme/core/types';
export declare function useFetchCatalogEntityRevisions({ entityKey, version }: {
    entityKey: string;
    version?: string | null;
}): {
    query: ReturnType<typeof useQuery<BffCatalogEntityRevisionList, Error>>;
    items: BffCatalogEntityRevision[];
};
//# sourceMappingURL=useFetchCatalogEntityRevisions.d.ts.map