export declare function awaitError(response: Promise, expectedMessage: string): Promise;