/** * Helper to assert and manually dismiss a notification. This is useful in scenarios where * cleanupNoty() does not work as expected, such as when validating error messages in test suites * * @param {string | RegExp} text - Expected notification text. Can be a string or a regular expression. * @returns void */ export default function assertAndDismissNoty(text: string | RegExp): Promise;