@webability/core 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ import { Page } from 'playwright';
2
+ import { a as ScanOptions, c as ScanIssue, S as ScanResult } from './types-CznpCIVi.cjs';
3
+
4
+ interface A11yCheckOptions extends Omit<ScanOptions, 'browser' | 'dismissModals'> {
5
+ }
6
+
7
+ type PublicScanIssue = Omit<ScanIssue, 'source'>;
8
+ declare function a11yCheck(page: Page, options?: A11yCheckOptions): Promise<ScanResult>;
9
+ declare class WebAbility {
10
+ private page;
11
+ private options;
12
+ private snapshots;
13
+ private observer;
14
+ constructor(page: Page, options?: A11yCheckOptions);
15
+ analyze(options?: A11yCheckOptions): Promise<ScanResult>;
16
+ start(options?: A11yCheckOptions): Promise<void>;
17
+ stop(): Promise<ScanResult>;
18
+ }
19
+
20
+ export { type A11yCheckOptions, type PublicScanIssue, ScanOptions, ScanResult, WebAbility, a11yCheck };
@@ -0,0 +1,20 @@
1
+ import { Page } from 'playwright';
2
+ import { a as ScanOptions, c as ScanIssue, S as ScanResult } from './types-CznpCIVi.js';
3
+
4
+ interface A11yCheckOptions extends Omit<ScanOptions, 'browser' | 'dismissModals'> {
5
+ }
6
+
7
+ type PublicScanIssue = Omit<ScanIssue, 'source'>;
8
+ declare function a11yCheck(page: Page, options?: A11yCheckOptions): Promise<ScanResult>;
9
+ declare class WebAbility {
10
+ private page;
11
+ private options;
12
+ private snapshots;
13
+ private observer;
14
+ constructor(page: Page, options?: A11yCheckOptions);
15
+ analyze(options?: A11yCheckOptions): Promise<ScanResult>;
16
+ start(options?: A11yCheckOptions): Promise<void>;
17
+ stop(): Promise<ScanResult>;
18
+ }
19
+
20
+ export { type A11yCheckOptions, type PublicScanIssue, ScanOptions, ScanResult, WebAbility, a11yCheck };