import type { SUPPORTED_ENTITIES, ValidatedEntityIdProps, ValidatedEntityIdReturned } from "../types";
/**
 * A hook that validates and potentially translates an entity ID.
 *
 * If the hook is loading, then `null` is returned.
 * If the ID is a valid NanoID and the translation is successful, the translated ID is returned.
 * Otherwise, the original ID is returned.
 *
 * @param {Object} params - The parameters for the hook.
 * @param {EntityType} params.type - The type of the entity (e.g., 'card', 'dashboard', etc.).
 * @param {string | number | null | undefined} params.id - The ID to validate and potentially translate.
 *
 */
export declare const useValidatedEntityId: <TEntity extends keyof SUPPORTED_ENTITIES, TReturnedId = SUPPORTED_ENTITIES[TEntity]>({ type, id, }: ValidatedEntityIdProps<TEntity>) => ValidatedEntityIdReturned<TEntity, TReturnedId>;
