interface IProps { children?: any; loadingDuration?: number; simulateError?: boolean; } export declare const useQuery: ({ loadingDuration, simulateError }?: IProps) => { loading: boolean; data: { result: { name: string; age: number; }; }; error: undefined; refetch: () => void; } | { loading: boolean; data: undefined; error: string; refetch: () => void; }; export declare const SampleQuery: {}; export {};