import { Severity } from '@useoptic/openapi-utilities'; import { Property, PropertyAssertions, RuleContext } from '../types'; type PropertyRuleConfig = { name: RuleName; docsLink?: string; matches?: PropertyRule['matches']; rule: PropertyRule['rule']; severity?: 'info' | 'warn' | 'error'; }; export declare class PropertyRule { type: 'property-rule'; name: RuleName; docsLink?: string; matches?: (property: Property, context: RuleContext) => boolean; rule: (property: PropertyAssertions, context: RuleContext) => void; severity?: Severity; constructor(config: PropertyRuleConfig); static isInstance(v: any): v is PropertyRule; } export {}; //# sourceMappingURL=property-rule.d.ts.map