/** * Options for Automatic checks to be passed to {@link registerSa11yAutomaticChecks} */ export type AutoCheckOpts = { runAfterEach?: boolean; cleanupAfterEach?: boolean; consolidateResults?: boolean; filesFilter?: string[]; testsFilter?: string[]; runDOMMutationObserver?: boolean; enableIncompleteResults?: boolean; }; export type RenderedDOMSaveOpts = { renderedDOMDumpDirPath?: string; generateRenderedDOMFileSaveLocation?: (testFilePath: string, testName: string) => { fileName: string; fileUrl: string; }; }; /** * Default options when {@link registerSa11yAutomaticChecks} is invoked */ export declare const defaultAutoCheckOpts: AutoCheckOpts; export declare const defaultRenderedDOMSaveOpts: RenderedDOMSaveOpts; export declare const setOriginalDocumentBodyHtml: (bodyHtml: string | null) => void; export declare const getOriginalDocumentBodyHtml: () => string | null; /** * Check if current test file needs to be skipped based on any provided filter */ export declare function skipTest(testPath: string | undefined, filesFilter?: string[]): boolean; /** * Check if current test needs to be skipped based on test name filter */ export declare function skipTestByName(testName: string | undefined, testsFilter?: string[]): boolean; /** * Run accessibility check on each element node in the body using {@link toBeAccessible} * @param opts - Options for automatic checks {@link AutoCheckOpts} */ export declare function runAutomaticCheck(opts?: AutoCheckOpts, renderedDOMSaveOpts?: RenderedDOMSaveOpts, testPath?: string, testName?: string, isFakeTimerUsed?: () => boolean): Promise; export declare function mutationObserverCallback(mutations: MutationRecord[]): void; export declare const observerOptions: MutationObserverInit; //# sourceMappingURL=automatic.d.ts.map