@memori.ai/memori-api-client
Version:
React library to integrate a Memori in your app or website
15 lines (14 loc) • 400 B
TypeScript
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>;