import { HttpService } from "@nestjs/axios"; import { AxiosError } from "axios"; import { Observable } from "rxjs"; import { QuickBooksAuthService } from "../auth/services/auth.service"; import { QueryOptions, QueryStatementType, WhereOptions } from "./models"; export declare class BaseService { protected readonly realm: string; private readonly resource; private readonly authService; protected readonly http: HttpService; private readonly sandboxUrl; private readonly liveUrl; protected readonly minorVersion: { minorversion?: string; }; constructor(realm: string, resource: string, authService: QuickBooksAuthService, http: HttpService); protected get apiUrl(): string; query(condition: WhereOptions, options?: QueryOptions): Observable; count(condition: WhereOptions): Observable; protected get(path?: string, queryParams?: object, headers?: object): Observable; protected post(body: any, path?: string, queryParams?: object, headers?: object): Observable; protected queryUrl(statement: QueryStatementType, condition: WhereOptions, options?: QueryOptions): string; protected url(path: string): string; protected rawUrl(path: string): string; protected getHttpHeaders(): Observable; protected catchError(e: AxiosError): Error; }