import { Employee, ProjectTracking, TimeOff, TimeOffRequest, PerformanceReview, CompensationItem } from './models'; declare class BambooHRClient { private apiKey; private apiSecret; private baseUrl; private authHeader; constructor(apiKey: string, apiSecret: string); endPoint(path: string): string; private sendRequest; /** * Get an Employee Basic Info. * @see https://www.bamboohr.com/api/documentation/employees.php#getEmployee */ getEmployee(employeeId: number): Promise; /** * Fetch a list of employees. */ getEmployees(employeeIds: number[], client?: string): Promise; /** * Get an Employee Basic Info and their project metadata. * @see https://www.bamboohr.com/api/documentation/employees.php#getEmployee */ getEmployeeInfo(employeeId: number): Promise; getProjectsInfo(employeeId: number): Promise; getDirectory(): Promise; getCompleteEmployeeDirectory(): Promise; getPerformanceReviews(): Promise; /** * Builds the employees index. * The index is an object containing the employee numbers (company assigned) as keys * and their Record Id (object identifier in BambooHR) as values. * This is useful to be able to query employees by their employee number. */ getEmployeeIndex(): Promise; /** * Get a list of who's out, including company holidays * @see https://www.bamboohr.com/api/documentation/time_off.php#getWhosOut * @param startDate * @param endDate */ getWhosOut(startDate: string, endDate: string): Promise; /** * Get a list of employee time off requests. * @param employeeId * @param startDate * @param endDate * @see https://www.bamboohr.com/api/documentation/time_off.php#getRequests */ getEmployeeTimeOff(employeeId: number, startDate: string, endDate: string): Promise; getCompanyTimeOff(startDate: string, endDate: string): Promise; getCompensation(): Promise; } export { BambooHRClient };