1 | import type { TExtend } from 'tsfn';
|
2 | export declare type TActualHandlers<T> = {
|
3 | [key in keyof T]: (...args: any[]) => void;
|
4 | };
|
5 | export declare type THandlers<P> = {
|
6 | [key: string]: (props: P) => (...args: any[]) => void;
|
7 | };
|
8 | export declare const mapHandlers: <P extends {}, R extends THandlers<P>>(handlers: R) => (props: P) => TExtend<P, TActualHandlers<R>>;
|