export declare function useFetch(): { fetchByApi: (path: string, type: "GET" | "POST", options?: any, domain?: string) => Promise; };