import { Client } from ".."; import LogsListener from "../Logs/listener"; import { ArchivesResult } from "../models/regional/logs"; import { IndexParams } from "../params/regional/logs"; export default class Logs { /** Scalingo API Client */ _client: Client; /** * Create a new "thematic" client * @param client Scalingo API Client */ constructor(client: Client); /** * Get application logs * @see https://developers.scalingo.com/logs * @param id ID of the application * @param opts Optional additional information * @return Promise that when resolved returns the application logs */ for(id: string, opts: IndexParams): Promise; /** * Open a listener on this app logs * @see https://developers.scalingo.com/logs * @param {String} id ID of the application * @return {Promise} Promise that when resolved returns a logs listener for this application. */ listenerFor(id: string): Promise; /** * Get logs archives for an app * @see https://developers.scalingo.com/apps#access-to-the-application-logs-archives * @param id ID of the application * @return Promise that when resolved returns a list of logs archives for this application */ archives(id: string, cursor?: string | number): Promise; } //# sourceMappingURL=index.d.ts.map