import { type Validator } from 'valgen'; import { DECODER, ENCODER } from '../../constants.js'; export declare class StringType { constructor(properties?: Partial); pattern?: string | RegExp; patternName?: string; minLength?: number; maxLength?: number; protected [DECODER](properties: Partial): Validator; protected [ENCODER](properties: Partial): Validator; }