import * as React from 'react'; /** Keys never forwarded to the DOM (in addition to `data-epr-*`). */ export declare function filterPrimitiveProps(props: object, reserved: readonly string[]): Record; /** * Handler composition: the library behavioral handler * runs first, the consumer handler second with the same event. Consumer * `preventDefault()` is not a supported way to disable required behavior. * Event-handler exceptions propagate per normal React/browser behavior; * primitives never catch them and no ErrorBoundary is installed. */ export declare function composeHandlers(libraryHandler: ((event: E) => void) | undefined, consumerHandler: ((event: E) => void) | undefined): ((event: E) => void) | undefined; /** Merge any number of refs (context ref + forwarded ref) onto one node. */ export declare function mergeRefs(...refs: Array | undefined>): React.RefCallback; /** Keep callback refs attached while the refs themselves are unchanged. */ export declare function useMergedRefs(first: React.Ref | undefined, second: React.Ref | undefined): React.RefCallback;