import Session from '../Services/Identity/Session';
import { AssignServiceAreaRequest, AssignServiceAreaResponse, CreateServiceAreaRequest, CreateServiceAreaResponse, GetAllByTeamsServiceAreasRequest, GetAllServiceAreasResponse, UnassignServiceAreaRequest, UnassignServiceAreaResponse, UpdateServiceAreaRequest, UpdateServiceAreaResponse } from './ServiceArea.consts';
/**
 * @deprecated please use ServiceArea v2
 */
export default class ServiceAreaApi {
    private serviceAreaEntity;
    constructor(session: Session);
    /**
     * @deprecated please use ServiceArea v2
     */
    getAll(): Promise<GetAllServiceAreasResponse>;
    /**
     * @deprecated please use ServiceArea v2
     */
    getAllByTeams(request: GetAllByTeamsServiceAreasRequest): Promise<GetAllServiceAreasResponse>;
    create(request: CreateServiceAreaRequest): Promise<CreateServiceAreaResponse>;
    update(id: number, request: UpdateServiceAreaRequest): Promise<UpdateServiceAreaResponse>;
    assign(id: number, request: AssignServiceAreaRequest): Promise<AssignServiceAreaResponse>;
    unassign(request: UnassignServiceAreaRequest): Promise<UnassignServiceAreaResponse>;
    delete(id: number): Promise<boolean>;
}
