export default function exitWithError(msg: string, code?: number): void;