import { HttpResponse } from 'vue-resource'; import { Resource } from './Resource'; import { HttpBody } from './HttpBody'; import { Resp } from '../../types'; export declare class Collection extends HttpBody { /** * Items of the collection * @type {Array} */ items: T[]; /** * Collection Class of list */ readonly type: any; /** * Collection ClassObject of list */ readonly resource: T; constructor(type: any); /** * Serializes the response body of a call to the WebServer * @param promise Any call of VUE RESOURCE */ call(promise: PromiseLike): Promise>; /** * Lists resource from WebServer * @param params */ query(params?: any): Promise>; /** * Return headers with translate */ readonly headers: { [x: string]: string; }; /** * Returns a matrix of rows and columns */ readonly rows: (string | number | undefined)[][]; /** * Returns the values of a given row * @param i */ values(i: number): any; /** * Downloads CSV file from its collection */ downloadCsv(): void; }