import { Program } from "@typespec/compiler"; /** * The per-navigation-property OData capability restriction decorators * (`@readRestrictions`, `@insertRestrictions`, `@updateRestrictions`, * `@deleteRestrictions`) only emit annotations on navigation properties. * Additionally, `@insertRestrictions` and `@deleteRestrictions` are only * meaningful on collection-valued navigation properties. Applying any of them * to a structural property, or applying a collection-only restriction to a * single-valued navigation property, would silently emit a nonsensical (or * dropped) annotation, so flag it. Every misapplied decorator on a property is * reported, not just the first. */ export declare function validateCapabilityRestrictionsOnlyApplyToNavigationProperties(program: Program): void; //# sourceMappingURL=capability-restrictions.d.ts.map