export default function validateTypes(types: string[], throwError: boolean): void;