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