import React from "react"; import { MatchKeys } from "./match-keys"; export declare type EventHandlerNames = MatchKeys, React.ReactEventHandler>; export declare type EventHandlerProps = Pick, EventHandlerNames>; /** * 透传 props 中的事件处理器,可以从 occupiedProps 指定已有的处理函数,会同时调用 * * @param props 组件 Props * @param occupiedProps 已被使用的事件 Props */ export declare function mergeEventProps

(props: P, occupiedProps?: Partial): Partial, MatchKeys, (event: React.SyntheticEvent) => void>>>;