@a11ywatch/core
Version:
a11ywatch central API
20 lines (19 loc) • 593 B
TypeScript
import type { Issue } from "../../types/types";
export interface Data {
issues: Issue[] | [];
pageUrl: string;
}
export interface IssuesFound {
(data: Data, headingElement?: string, hideFooter?: boolean): string;
}
export interface IssuesResultsFound {
(data: {
totalIssues: number;
totalWarnings: number;
total: number;
totalNotices?: number;
pageUrl: string;
score?: number;
}, headingElement?: string, hideFooter?: boolean, freeAccount?: boolean): string;
}
export declare const issuesResultsTemplate: IssuesResultsFound;