export default function useLoadedData({ loadFn, getDataFromResponseFn, initialLoading, initialData, }: {
    loadFn: any;
    getDataFromResponseFn?: (response: any) => any;
    initialLoading?: boolean;
    initialData?: any;
}): {
    isLoading: boolean;
    data: any;
    error: any;
    loadData: import("lodash").DebouncedFunc<(...params: any) => Promise<void>>;
    setData: import("react").Dispatch<any>;
    setIsLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
};
//# sourceMappingURL=useLoadedData.d.ts.map