import { EventEmitter } from '@angular/core'; import { WpService } from '../service/wp.service'; import { ModelResponse } from '../service/model/model.interface'; export declare class ModelDirective { private wpService; private model; private loading; /** Model endpoint */ endpoint: any; /** Model QueryArgs */ wpArgs: any; /** Model Id, the component will refresh the request on id changes */ wpId: number; /** Model response */ wpResponse: EventEmitter; /** Loading state */ wpLoading: EventEmitter; constructor(wpService: WpService); /** Get a model of endpoint type by id */ get(id: any, args?: any): void; }