export default function required(condition: unknown, errorPrompt?: string | Error | { code: number; message: string; }): void;