UNPKG

@midware/mauth

Version:

A simple auth middleware for Node.js

8 lines 854 B
import { AxiosRequestConfig } from 'axios'; declare const request: (method: string, host: string, endpoint?: string, input?: unknown, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; declare const sendPost: (host: string, endpoint?: string, input?: unknown, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; declare const sendPut: (host: string, endpoint?: string, input?: unknown, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; declare const sendGet: (host: string, endpoint?: string, input?: unknown, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; declare const sendDelete: (host: string, endpoint?: string, input?: unknown, config?: AxiosRequestConfig, out?: unknown) => Promise<unknown>; export { sendPost, sendPut, sendGet, sendDelete, request }; //# sourceMappingURL=utils.d.ts.map