import type { RequestOptions } from './instance' export type IAdaptorRequestResponseType

= Promise< Record & { data: P } > export type IRequestAdapter = Readonly< (Response extends undefined ? {} : { responseWrapper: Response }) & { default: T get:

( url: string, options?: Omit, ) => IAdaptorRequestResponseType

post:

( url: string, options: Partial, ) => IAdaptorRequestResponseType

patch:

( url: string, options: Partial, ) => IAdaptorRequestResponseType

delete:

( url: string, options?: Omit, ) => IAdaptorRequestResponseType

put:

( url: string, options: Partial, ) => IAdaptorRequestResponseType

} >