import { Result } from 'ahooks/lib/useRequest/src/types'; import React from 'react'; export declare const AsyncDataContext: React.Context & { state?: any; setState?: any; }>; export interface AsyncDataProviderProps { value?: any; request?: any; uid?: string; onSuccess?: (data: any, params: any) => void; } export declare const AsyncDataProvider: React.FC; export declare const useAsyncData: () => Result & { state?: any; setState?: any; };