export interface FetchOptions {
    method?: "GET" | "POST";
    headers?: Record<string, string>;
    body?: any;
}
export declare const fetchFromApi: <T>(url: string, options?: FetchOptions) => Promise<T>;
