import { FunctionComponent } from 'react'; import { AllowedKey } from './types/utils.js'; declare function useListener(target: any, type: string, listener: (...args: any[]) => void): void; interface Props { target?: any; type: string; listener: (...args: any[]) => any; } declare const Listener: FunctionComponent; declare function getListenerKeys

>(props: P): Array>; export { Listener, type Props, getListenerKeys, useListener };