///
import { Logger, QueryOptions } from 'winston';
import * as readline from 'readline';
interface LogQueryOptions extends QueryOptions {
url?: string;
method?: 'get' | 'post' | 'put' | 'patch' | 'delete';
userId?: number;
level?: 'debug' | 'info' | 'error';
status?: number;
}
interface LogResult {
traceId?: string;
time?: string;
method?: string;
url?: string;
statusCode?: string;
userId?: number;
devicePlatform?: 'ios' | 'android';
duration?: string;
level?: string;
raw?: any;
}
export declare class LoggingCommand {
private logger;
constructor(logger: Logger);
rl: readline.Interface;
question: (q: any) => Promise;
query(sort: 'asc' | 'desc', limit?: number, last?: string, method?: 'get' | 'post' | 'put' | 'patch' | 'delete', url?: string, from?: string, to?: string, userId?: number, level?: 'debug' | 'info' | 'error', status?: number): Promise;
filterLogs(options: LogQueryOptions): Promise;
displayData(options: LogQueryOptions): Promise;
printMessage(message: LogResult): void;
}
export {};