import type { Dispatch } from "../../../metabase-types/store";
import type { SUPPORTED_ENTITIES, ValidatedEntityIdProps, ValidatedEntityIdReturned } from "./types";
export declare const fetchEntityId: <TEntity extends keyof SUPPORTED_ENTITIES = keyof SUPPORTED_ENTITIES, TReturnedId = SUPPORTED_ENTITIES[TEntity]>({ type, id, }: ValidatedEntityIdProps<TEntity>) => (dispatch: Dispatch) => Promise<ValidatedEntityIdReturned<TEntity, TReturnedId>>;
