import { AxiosInstance } from 'axios'; import { BullhornLookupItem } from '../types'; export interface LookupOptions { entity?: string[]; filter?: string; count?: number; isCountPerEntity?: boolean; start?: number; } /** * A base class for making Options calls via Rest */ export declare class LookupService { types: string[]; private readonly options; http: AxiosInstance; records: BullhornLookupItem[]; parameters: any; protected _endpoint: string; private readonly initialized; /** * constructor description * @param endpoint - Base Url for all relative http calls eg. 'options/JobOrder' */ constructor(types: string[], options?: LookupOptions); initialize(): Promise; get endpoint(): string; set endpoint(value: string); filter(value: string): this; count(value: number): this; params(object: LookupOptions): this; get(): Promise; run(): Promise; then(done: any, fail?: any): Promise; }