export type AgentLoggerType = 'debug' | 'info' | 'error' | 'warn' | 'done'; export interface IStreamLogger { log(type: string, message: string, ...optionalParams: any[]): number; debug(message: string, ...optionalParams: any[]): number; info(message: string, ...optionalParams: any[]): number; error(message: string, ...optionalParams: any[]): number; warn(message: string, ...optionalParams: any[]): number; done(message: string, ...optionalParams: any[]): number; } export declare class PSAgentLogger implements IStreamLogger { static id: number; private logFn; private readonly logFilePath; private taskId?; private task?; constructor(options?: { prefix?: string; logFilePath?: string; taskId?: string; task?: string; startcounter?: number; }); log(type: string, message: any, ...optionalParams: any[]): number; debug(message: string, ...optionalParams: any[]): number; info(message: string, ...optionalParams: any[]): number; error(message: string, ...optionalParams: any[]): number; warn(message: string, ...optionalParams: any[]): number; done(message?: string, ...optionalParams: any[]): number; }