Validator: {
    _default: undefined;
    isNull: (str: string, options?: IsEmptyOptions) => boolean;
    contains(str: string, elem: string): boolean;
    extend(
        name: string,
        fn: Function,
    ): { extend(name: string, fn: Function): ...; notEmpty(str: string): boolean; len(str: string, min: number, max: number): boolean; isUrl(str: string): boolean; isIPv6(str: string): boolean; ... 124 more ...; default: typeof validator; };
    is(
        str: string,
        pattern: string | RegExp,
        modifiers: string,
    ): null | RegExpMatchArray;
    isDate(dateString: string): boolean;
    isDecimal(str: string): boolean;
    isImmutable(
        ignoreValue: unknown,
        ignoreValidatorArgs: unknown,
        field: string,
        modelInstance: Model,
    ): boolean;
    isIPv4(str: string): boolean;
    isIPv6(str: string): boolean;
    isUrl(str: string): boolean;
    len(str: string, min: number, max: number): boolean;
    max(str: string, val: number): boolean;
    min(str: string, val: number): boolean;
    not(str: string, pattern: string | RegExp, modifiers: string): boolean;
    notContains(str: string, elem: string): boolean;
    notEmpty(str: string): boolean;
    notIn(str: string, values: string[]): boolean;
    notNull(val: unknown): val is {};
    notRegex(str: string, pattern: string | RegExp, modifiers: string): boolean;
    regex(
        str: string,
        pattern: string | RegExp,
        modifiers: string,
    ): null | RegExpMatchArray;
} = ...

Type declaration