type ServiceCall = (query: string, variables?: any) => Promise; declare function useServiceCall(): ServiceCall; export { useServiceCall }; export type { ServiceCall };