import type { JsonRule, RuleCounter, RuleFailure, RuleFilters, RuleMatch, RuleOutputMatch, RuleSummarize, RuleTransforms } from "../types.js";
type ValidationResult = {
    ok: true;
} | {
    ok: false;
    errors: string[];
};
export declare function validateRule(raw: unknown): ValidationResult;
export declare function assertValidRule(raw: unknown): asserts raw is JsonRule;
export type { RuleCounter, RuleFailure, RuleFilters, RuleMatch, RuleOutputMatch, RuleSummarize, RuleTransforms };
