export declare function required(obj: unknown, key: string): void;