/** * @alpha */ import { type DefineFeatureEventsOptions, type Exact, type Event, type EventProperty } from './types'; export declare const defineFeatureEvents: (repo: Event['repo'], feature: Event['feature'], defaultProps?: EventProperty, factoryOptions?: DefineFeatureEventsOptions) =>
(eventName: string, eventOptions?: DefineFeatureEventsOptions) => (props: P extends EventProperty ? Exact : void) => void;