import { AxiosResponse } from 'axios'; import { OpenAPISchemaValidatorResult } from 'openapi-schema-validator'; declare const validateSpec: (path: string) => OpenAPISchemaValidatorResult; declare type APIOptions = { skipAuth?: boolean; formHeaders?: { [key: string]: unknown; }; }; /** * Intercepts axios requests and performs a test * against API specfor returned response. **/ declare const API: (specPath: string) => { post: (url: string, data: R, options?: APIOptions) => Promise>; get: (url: string, params: R_1, options?: APIOptions) => Promise>; put: (url: string, data: R_2, options?: APIOptions) => Promise>; }; export { validateSpec, API };