/** * Expect a promise to throw an error with a specific message. * @param promise - The promise to await. * @param {string} errorMsg - The error message that we expect to see. */ export declare const expectToThrow: (promise: Promise, errorMsg: string) => Promise;