import { Composable } from "./blueprint"; import { Mapper } from "./types"; export declare type EventHandler = Function; export declare type AnyHandleCreators = { [key: string]: Mapper; }; export declare type HandleCreators = { [P in keyof TPropsOut]: Mapper; }; export declare function withHandlers(handlerCreators: AnyHandleCreators | ((props: any) => AnyHandleCreators)): Composable; export declare function withHandlers(handlerCreators: HandleCreators | ((props: TPropsIn) => HandleCreators)): Composable; export default withHandlers;