/// import _toBoolean from 'validator/lib/toBoolean'; import { IStringProps, TStringValidatorResult } from '../_types'; declare type TParameters = Parameters; export interface IToBooleanProps { /** * In strict mode only `1` and `true` return true. */ strict?: TParameters[1]; } /** * Convert the input string to a `boolean`. Everything except for `0`, `false` and `(empty string)` returns true. */ export declare const toBoolean: (props?: IToBooleanProps & Omit) => TStringValidatorResult; export {};