export declare const apiFetcher: (path: string, opts: {
    apiUrl: string;
    method?: string;
    body?: object;
    headers?: object;
    text?: boolean;
}) => Promise<any>;
export declare const apiBinaryFetcher: (path: string, opts: {
    apiUrl: string;
    method?: string;
    body?: object;
    headers?: object;
    responseType?: 'arrayBuffer' | 'blob';
}) => Promise<Blob | ArrayBuffer>;
