import { AxiosInstance } from 'axios'; import { BullhornListResponse, FieldMapOption } from '../types'; /** * A base class for making Options calls via Rest */ export declare class OptionsService { optionType: string; http: AxiosInstance; records: any[]; parameters: any; protected _page: number; protected _endpoint: string; protected _lastResponse: BullhornListResponse; private readonly initialized; /** * constructor description * @param endpoint - Base Url for all relative http calls eg. 'options/JobOrder' */ constructor(optionType: string); initialize(): Promise; get endpoint(): string; set endpoint(value: string); get snapshot(): BullhornListResponse; filter(value: string): this; count(value: number): this; page(value: number): this; nextpage(): Promise>; params(object: any): this; get(add: any): Promise>; run(add: any): Promise>; then(done: any, fail?: any): Promise>; }