export default function castBoolean(v: any, defaultValue?: boolean): boolean;