UNPKG

ai-horde

Version:
9 lines (8 loc) 257 B
export declare function post<T = any>({ url, apikey, body }: PostReq): Promise<T>; export declare function get<T = any>({ url, apikey }: Omit<PostReq, 'body'>): Promise<T>; type PostReq = { url: string; apikey?: string; body: any; }; export {};