UNPKG

xenforo-dl

Version:
9 lines 625 B
import { CLIOptionParserEntry } from './CLIOptions.js'; export default class CLIOptionValidator { static validateRequired(entry?: CLIOptionParserEntry, errMsg?: string): string; static validateString<T extends string[]>(entry?: CLIOptionParserEntry, ...match: T): T[number] | undefined; static validateBoolean(entry?: CLIOptionParserEntry): boolean | undefined; static validateNumber(entry?: CLIOptionParserEntry, min?: number, max?: number): number | undefined; static validateFlags(entry?: CLIOptionParserEntry, ...match: string[]): string | undefined; } //# sourceMappingURL=CLIOptionValidator.d.ts.map