import { EventEmitter } from '@angular/core'; import { WpService } from '../service/wp.service'; import { CollectionResponse } from '../service/collection/collection.interface'; export declare class CollectionDirective { private wpService; private collection; private loading; /** Collection endpoint */ endpoint: any; /** Query args */ wpArgs: any; /** Collection wpResponse */ wpResponse: EventEmitter; /** Loading state */ wpLoading: EventEmitter; constructor(wpService: WpService); /** Get collection of items */ get(args: any): void; /** Get more collection (concat current with next page) */ more(): void; /** Get next collection (next page) */ next(): void; /** Get previous collection (prev page) */ prev(): void; }