import { PolitenessSetting } from 'aria-live-capture'; interface Options { /** Indicates whether live regions inside `ShadowRoot`s should be tracked */ includeShadowDom?: boolean; } declare function toBeAnnounced(this: { isNot?: boolean; }, text: string | RegExp, politenessSetting?: Exclude): { pass: boolean; message: () => string; }; /** * Register `extend-to-be-expected` to track DOM nodes */ declare function register any, ...rest: any[]) => any>(options: Options | undefined, hooks: { beforeEach: TestHook; afterEach: TestHook; }): void; /** * Clear all captured announcements. */ declare function clearAnnouncements(): void; /** * Get all captured announcements. */ declare function getAnnouncements(): Map; export { clearAnnouncements, getAnnouncements, register, toBeAnnounced };