import { UseFetchOptions, UseFetchReturnValue } from '@mantine/hooks'; export interface UseCustomFetchOptions extends UseFetchOptions { initialLoading?: boolean; clearDataOnRefetch?: boolean; } export interface UseCustomFetchReturnValue extends Omit, 'error' | 'refetch'> { error: Error | undefined; refetch: () => Promise | undefined; resetError: () => void; } export declare function useCustomFetch(url: string, { autoInvoke, initialLoading, clearDataOnRefetch, ...options }?: UseCustomFetchOptions): UseCustomFetchReturnValue;