import { GuardClass, GuardFunctionWithArray, OptionalGuardFunctionWithArray } from '../global'; declare class StringGuard implements GuardClass { private maxLength?; private shouldEscape?; private escapeIfNeeded; get notEmpty(): GuardFunctionWithArray; get required(): GuardFunctionWithArray; get optional(): OptionalGuardFunctionWithArray; get escaped(): StringGuard; with(maxLength: number): StringGuard; constructor(maxLength?: number, shouldEscape?: boolean); } declare const _default: StringGuard; export default _default;