autumn-js
Version:
Autumn JS Library
14 lines (11 loc) • 460 B
text/typescript
import { A as AutumnError } from '../error-CG2LXoa7.mjs';
import { E as Entity } from '../entTypes-CV-165S-.mjs';
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
import '../cusTypes-Cf-s9PYP.mjs';
declare const useEntity: (entityId: string, params?: GetEntityParams) => {
entity: Entity | null;
isLoading: boolean;
error: AutumnError | null;
refetch: (params: GetEntityParams) => Promise<void>;
};
export { useEntity };