import { RuleContext, Ruleset } from '@useoptic/rulesets-base'; import { SeverityText } from '@useoptic/openapi-utilities'; import Ajv from 'ajv'; import { appliesWhen } from './constants'; type SpecVersion = '3.1.x' | '3.0.x'; type ExampleConstructor = { docs_link?: string; require_request_examples?: boolean; require_response_examples?: boolean; require_parameter_examples?: boolean; required_on?: (typeof appliesWhen)[number]; matches?: (context: RuleContext) => boolean; docsLink?: string; configureAjv?: (ajv: Ajv) => void; severity?: SeverityText; spec_version?: SpecVersion; }; export declare class ExamplesRuleset extends Ruleset { static fromOpticConfig(config: unknown, { specVersion }?: { specVersion?: SpecVersion; }): Promise; constructor(config: ExampleConstructor); } export {}; //# sourceMappingURL=index.d.ts.map