/** * AI-powered Template Linting */ import type { LintResult, LintOptions } from './types'; /** * Lint a template using AI analysis * * @example * ```typescript * import { lint } from 'binja/ai' * * const result = await lint(` * {% for p in products %} *
{{ p.name }}
* {% endfor %} * `) * * // result.warnings = [{ type: 'security', message: 'XSS: unescaped in onclick' }] * ``` */ export declare function lint(template: string, options?: LintOptions): Promise; /** * Quick syntax check without AI (fast, sync) */ export declare function syntaxCheck(template: string): LintResult; //# sourceMappingURL=lint.d.ts.map