ilastlog
Version:
alternative lastlog because of Ubuntu 24.04.1. The distros have had the libpam excluding lastlog.so. therefore, I personally needed.
11 lines (10 loc) • 730 B
TypeScript
import { Recode } from "../configs/Recode";
import { Option } from "../interface/index";
declare const combinedPatterns: RegExp[];
declare function captureLog(_texts: string[], regx: RegExp[]): any[];
declare function Print(infoArr: Recode[], _options: Option): void;
declare function WriteToFile(infoArr: Recode[], useSave: boolean): void;
declare function WriteToFileAsync(infoArr: Recode[], useSave: boolean): Promise<void>;
declare function compareGenerator(key: string): (a: Record<string, string>, b: Record<string, string>) => 1 | 0 | -1;
declare function calculate(textArr: string[], _options: Option): Recode[];
export { combinedPatterns, compareGenerator, captureLog, calculate, Print, WriteToFile, WriteToFileAsync, };