UNPKG

caniemail

Version:

HTML and CSS Feature Support for Email Clients from caniemail.com

23 lines 791 B
import type { CssStylesheetAST } from '@adobe/css-tools'; import type { Document } from 'domhandler'; import { type EmailClient } from './clients.js'; import { type FeatureIssues } from './features.js'; interface BaseCheckArgs { clients: EmailClient[]; issues: FeatureIssues; } interface CheckHtmlArgs extends BaseCheckArgs { document: Document; source: string; } interface CheckStylesheetArgs extends BaseCheckArgs { stylesheet: CssStylesheetAST; offset?: { line: number; column: number; }; } export declare const checkStylesheet: ({ clients, issues, stylesheet, offset }: CheckStylesheetArgs) => void; export declare const checkHtml: ({ clients, issues, document, source }: CheckHtmlArgs) => void; export {}; //# sourceMappingURL=checks.d.ts.map