export declare function useAsyncState(initialState: T, asyncGetter: () => Promise | undefined): [T, () => void];