import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
import { Activity } from '../../models/activity.model';
import { Chapter } from '../../models/chapter.model';
import { Notion } from '../../models/notion.model';
import { IAttachable } from './_interfaces/attachable.interface';
import { BaseHttpService } from './base-http.service';
import { CacheService } from '../../services/cache/cache.service';
import { Environment } from '../../interfaces/environment.interface';
export declare class NotionsHttpService extends BaseHttpService implements IAttachable {
    protected environment: Environment;
    constructor(http: HttpClient, cache: CacheService, environment: Environment);
    byChapter(chapter: Chapter): Observable<Notion[]>;
    attach(notion: Notion, modelToAttach: Chapter | Activity, position?: number): Observable<Notion>;
    detach(notion: Notion, modelToDetach: Chapter | Activity): Observable<Notion>;
    private resolveRelation(model, foreignModel);
}
