import { CacheItem } from "./exampleCache"; export interface ExampleRule { exampleNamePostfix: string; ruleName: string | undefined; } export type RuleValidatorFunc = (context: RuleContext) => boolean | undefined; interface RuleValidator { onParameter?: RuleValidatorFunc; onSchema?: RuleValidatorFunc; onResponseBody?: RuleValidatorFunc; onResponseHeader?: RuleValidatorFunc; } interface RuleContext { schema?: any; propertyName?: string | undefined; schemaCache?: CacheItem; isRequest?: boolean; parentSchema?: any; } export declare function getRuleValidator(rule: ExampleRule | undefined): RuleValidator; export type RuleSet = ExampleRule[]; export {}; //# sourceMappingURL=exampleRule.d.ts.map