import type { InputQuery } from '../types/Types'; export declare abstract class Base { /** * Build out query requirements */ private readonly query; /** * Must override this from Base */ abstract endpoint: string; /** * Private AxiosInstance service */ private service; protected constructor(); /** * Standard where query. Can be used to * check equality, greater than, less than, etc. * * @param query InputQuery object * @return This instance */ where(query: InputQuery): this; /** * Set a limit of number of results to return. Defaults to 10. * If multiple calls are made, only the last one will be used. * * @param newLimit The limit to set * @return This instance */ limit(newLimit: number): this; /** * Offset the query results. Defaults to 0. * If multiple are provided, the last one will be used. * * @param newOffset The offset to use * @return This instance */ offset(newOffset: number): this; /** * Reset query, also sets meta-data to defaults. * * @return This instance */ reset(): this; /** * Get the results. * * @return Generic Promise */ _get(): Promise; }