autumn-js
Version:
Autumn JS Library
13 lines (10 loc) • 324 B
text/typescript
import * as swr from 'swr';
import { G as GetEntityParams } from '../entTypes-C9TNWMk6.mjs';
import '../cusTypes-sh5_cN7N.mjs';
declare const useEntity: (entityId?: string, params?: GetEntityParams) => {
entity: any;
isLoading: boolean;
error: any;
refetch: swr.KeyedMutator<any>;
};
export { useEntity };