import { capitalizeConst } from '../sanitization'; import { IFormatInputOptions, IPgOutputType, postgresDataTypes } from '../types'; interface IStringOptions { trim?: boolean; trimLeft?: boolean; trimRight?: boolean; toLowerCase?: boolean; toUpperCase?: boolean; truncate?: number | false; capitalize?: capitalizeConst | false; notUndef?: boolean; notEmpty?: boolean; enum?: string[] | false; min?: number | false; max?: number | false; email?: boolean; test?: RegExp | false; pgType?: postgresDataTypes; } declare const _default: (options?: IStringOptions | undefined) => (value: any, privateOptions: IFormatInputOptions) => string | IPgOutputType | Error | null | undefined; export default _default;