type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
interface FetchWithAuthOptions {
    method?: HttpMethod;
    params?: Record<string, any>;
    headers?: Record<string, string>;
}
export declare const apiCall: (options: FetchWithAuthOptions | undefined, apiUrl: string) => Promise<any>;
export {};
//# sourceMappingURL=index.d.ts.map