export declare function useLoadingState(): { loadingState: Record; updateLoading: (key: string, promise?: void | Promise | undefined) => Promise; }; export declare function useLoadingStateKey(): { loadingState: boolean; updateLoading: (promise?: void | Promise | undefined) => Promise; };