import type { KnapsackInferSpecFilters } from '@knapsack/types'; import type { ComponentProps } from './utils/react-component-analyzer.mjs'; export declare function isAriaProp(name: string): boolean; export declare function isEventHandlerProp(name: string): boolean; export declare function shouldFilterProp({ name, declaredIn, filters, }: { name: string; declaredIn: ComponentProps[string]['declaredIn']; filters: KnapsackInferSpecFilters | undefined; }): boolean; /** * Apply workspace `inferSpec` filters to a component's inferred props, then * re-add any names listed in `extras` (the per-template override). * * Names in `extras` that don't exist on the inferred component are silently * absent from the output — the template-form is responsible for warning the * author about typos. Slots are not filtered (they're a different surface * than the prop deluge this targets). */ export declare function filterInferredProps({ componentProps, filters, extras, }: { componentProps: ComponentProps; filters?: KnapsackInferSpecFilters; extras?: readonly string[]; }): ComponentProps; //# sourceMappingURL=filter-props.d.mts.map