import { IResourceMapper, IHttpClient, IFindParams, ISearchParams, IJsonApiResponse, IJsonApiResource, IAvailabilityParams } from "./interfaces"; export default abstract class Base { accessToken?: string; resource: string; mapper: IResourceMapper; http: IHttpClient; protected host: string; constructor(accessToken: any); abstract url(options?: { [key: string]: any; }): string; parse(response: IJsonApiResponse, mapper?: IResourceMapper): T | T[]; qs(options?: (IFindParams | ISearchParams | IAvailabilityParams)): string; headers(): Object; }