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