/** * Domain-Aware Scanner * * Extracts DSL snippets from HTML/template files based on domain-declared * attribute patterns and script types. Unlike the hyperscript-specific * HTMLScanner, this scanner is configured dynamically from DomainScanConfig. */ import type { DomainScanConfig, ExtractedSnippet } from './types'; /** * Scans HTML/template files for domain-specific snippets. * * Configured by DomainScanConfig objects, each declaring which * HTML attributes and script types a domain uses. */ export declare class DomainAwareScanner { private configs; constructor(configs: readonly DomainScanConfig[]); /** * Extract all domain snippets from an HTML source string. */ extract(source: string, filename: string): ExtractedSnippet[]; /** * Extract snippets from multiple files. */ extractFromFiles(files: string[], readFile: (path: string) => Promise): Promise; } //# sourceMappingURL=domain-scanner.d.ts.map