1 | import { LogStyle, LogTable } from './interfaces';
|
2 | export declare let isBrowser: boolean;
|
3 | export declare const defaultLogTableOptions: {
|
4 | padding: number;
|
5 | spacing: number;
|
6 | };
|
7 |
|
8 |
|
9 |
|
10 | export declare function SetLoggerEnvironment(env: 'node' | 'browser'): void;
|
11 | export declare function stringColorToAnsiColor(type: 'background' | 'color', color?: string): string | undefined;
|
12 | export declare function ANSICodes(type: 'background' | 'color' | 'bold' | 'reset'): "0" | "1;" | "38;" | "48;";
|
13 | export declare function getBrowserStyle(style?: LogStyle): string;
|
14 | export declare function maxTableColumnLength(column: LogTable[0]): number;
|
15 | export declare function removeStyles(item: string | number): string;
|
16 | export declare function pad(text: string, start: number, end: number): string;
|
17 | export declare function getColumn(matrix: LogTable, col: number): (string | number | import("./interfaces").LogMessage)[];
|