UNPKG

600 BTypeScriptView Raw
1import { A11yAuditReporter } from './types';
2/**
3 * Reports the results of the a11yAudit. Set a custom reporter using `setCustomReporter`.
4 */
5export declare let reportA11yAudit: A11yAuditReporter;
6/**
7 * Sets a custom reporter, allowing implementers more specific control over how the results of the
8 * `a11yAudit` calls are processed. Calling this function with no parameters will reset the reporter
9 * to the default reporter.
10 *
11 * @param customReporter {A11yAuditReporter} The reporter to use in a11yAudit
12 */
13export declare function setCustomReporter(customReporter?: A11yAuditReporter): void;