export declare function errorIf(test: boolean, warnMessage: string, details?: any): void;