import { MessageFunctionType, Result } from '../types'; export interface ToBooleanErrors { TARGET_ARGUMENT_NOT_A_STRING: MessageFunctionType; } export declare const TO_BOOLEAN_ERRORS: ToBooleanErrors; /** * Convert the input string to a boolean. * Everything except for '0', * 'false' and '' returns true. * In strict mode only '1' and 'true' return true. * * @param target * @param strict */ export declare function toBoolean(target: string, strict: boolean): Result;