export declare function fetcher(endpoint: string, options?: { method?: string; params?: Record; body?: any; headers?: Record; }): Promise;