import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Logger } from 'ngx-base';
import { Area } from '../models/area';
export declare class AreaService {
private http;
private logger;
spacesUrl: string;
areasUrl: string;
private headers;
constructor(http: HttpClient, logger: Logger, apiUrl: string);
getById(areaId: string): Observable;
getAllBySpaceId(spaceId: string): Observable;
create(parentId: string, area: Area): Observable;
private handleError;
}