import { DefaultServerResponse } from '../API'; export interface LogsQueryParams { reverse?: '1' | '0'; offset?: string; } declare type LogEvent = { event: string; date: number; roomId: string; body?: any; byWhom: { username: string; }; }; declare type LogsRequestResponse = { ok: boolean; message: string; logs: LogEvent[]; }; export declare class LogsRequest { static getAllLogs(amount: number, config?: LogsQueryParams): Promise; static getLog(id: string, amount: number, config?: LogsQueryParams): Promise; static getFileMap(roomId: string): Promise; }>; } export {};