import type { SchemaValue } from '../schema.js'; import { type ValueConfig } from './value.js'; interface StringValueConfig extends ValueConfig { emptyAllowed?: boolean; url?: boolean; regex?: RegExp; constrainTo?: readonly T[]; ISODate?: boolean; } export declare class StringValue implements SchemaValue { private value; private config; constructor(config?: StringValueConfig); validate(value: T): string | null; get default(): T | undefined; get required(): boolean; } export declare function isString(value: unknown): value is string; export {};