export default function castObject(v: any, defaultValue?: {}): {};