import { SchemaType, RuleSpec } from '@sanity/types'; /** * Finds the first matching validation rule spec from a Rule class instance. * * @internal * Note: This accesses private fields of the rule. */ export declare function getValidationRule(type: SchemaType | null | undefined, ruleName: RuleFlag): Extract | null; //# sourceMappingURL=getValidationRule.d.ts.map