import { Client } from '../Client'; /** The Console for the Client */ export default class ClientConsole { /** The Client the Console is related to */ client: Client; /** Whether the Client is allowed to send Console messages */ enabled: boolean; /** All logs */ logs: { sender: 'server' | 'client'; message: string; }[]; /** * The Console for the Client * @param client The Client the Console is related to */ constructor(client: Client); _setEnabled(enabled: boolean): void; _add(message?: string): void; /** * Write a message to the Client Console * @param message The message * @returns Whether the console send was successful */ write(message?: string): Promise; /** Clear the logs (Client-Side) */ clear(): void; }