import Request from '../Request'; import type AuthService from '../interfaces/AuthService'; import type IRequest from '../interfaces/IRequest'; import type { ITokenHandler } from '../Token-handler/ITokenHandler'; export default class SecureRequest extends Request implements IRequest { private tokenHandler; private authService; constructor(tokenHandler: ITokenHandler, authService: AuthService); get(url: string, options?: any): Promise; post(url: string, options?: any): Promise; put(url: string, options?: any): Promise; patch(url: string, options?: any): Promise; delete(url: string, options?: any): Promise; private sendRequest; private createRequestWithAuth; private refreshTokenAndTryAgain; }