li18nt
Version:
Locales linter, formatter, sorter and prettifier
21 lines (20 loc) • 912 B
TypeScript
import { Mode } from '@types';
import { ChalkInstance } from 'chalk';
export interface ConsoleOutputUtils {
log: (str: string) => void;
logLn: (str: string) => void;
accent: ChalkInstance;
}
export declare const getLoggingSet: (mode: Omit<Mode, 'off'>) => ConsoleOutputUtils;
export declare const blankLn: (str: string) => void;
export declare const warnLn: (str: string) => void;
export declare const errorLn: (str: string) => void;
export declare const successLn: (str: string) => void;
export declare const infoLn: (str: string) => void;
export declare const debugLn: (str: string) => void;
export declare const blank: (str: string) => void;
export declare const warn: (str: string) => void;
export declare const error: (str: string) => void;
export declare const success: (str: string) => void;
export declare const info: (str: string) => void;
export declare const debug: (str: string) => void;