import { BaseOptions, BaseResult, OptionsWithFormat, Service } from './types'; declare function useAsync(service: Service, options: OptionsWithFormat): BaseResult; declare function useAsync(service: Service, options?: BaseOptions): BaseResult; export default useAsync;