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