import type { ViolationInput } from '@lapidist/dscp'; import type { LintResult } from '../core/types.js'; import type { KernelConfig } from '../config/kernel-config.js'; interface ExportDesignSystemMdOptions { /** Output file path. Defaults to `./DESIGN_SYSTEM.md`. */ out?: string; /** Optional path to a configuration file. */ config?: string; /** * When true, run a lint pass against the configured patterns and populate * the `violations` section with aggregated violation patterns. * Defaults to false so the command remains fast for snapshot-only use cases. */ lint?: boolean; } export type LoadConfigFn = (cwd: string, configPath?: string) => Promise; /** * Aggregate lint results into DSCP ViolationInput patterns. * Groups messages by CSS property + raw value and counts occurrences. */ export declare function aggregateViolations(results: LintResult[]): ViolationInput[]; /** * Export a `DESIGN_SYSTEM.md` file from the current design-lint configuration. * * @param options - Command options controlling output path and config location. * @param loadConfigFn - Optional override for config loading (used in tests). */ export declare function exportDesignSystemMd(options: ExportDesignSystemMdOptions, loadConfigFn?: LoadConfigFn): Promise; export {}; //# sourceMappingURL=export-design-system-md.d.ts.map