import CleverCloudSse from './clever-cloud-sse.js'; import type { ApplicationLog, ApplicationLogsStreamParams } from './application-logs.types.js'; /** * CleverCloud Applications' logs stream */ export declare class ApplicationLogStream extends CleverCloudSse { private _ownerId; private _appId; private _options; private _logsCount; constructor({ apiHost, tokens, ownerId, appId, retryConfiguration, connectionTimeout, ...options }: ApplicationLogsStreamParams); /** * compute full URL with query params */ getUrl(): URL; private _computedLimit; /** * Transform the log event data to an application log object. */ transform(event: string, data: any): any; /** * shortcut for .on('APPLICATION_LOG', (event) => ...) * * @param fn The function which handle log */ onLog(fn: (log: ApplicationLog) => void): this; } //# sourceMappingURL=application-logs.d.ts.map