Files
2025-09-27 22:57:59 +08:00

9 lines
517 B
TypeScript

export declare const composeEventHandlers: <E>(theirsHandler?: (event: E) => boolean | void, oursHandler?: (event: E) => void, { checkForDefaultPrevented }?: {
checkForDefaultPrevented?: boolean | undefined;
}) => (event: E) => void;
type WhenMouseHandler = (e: PointerEvent) => any;
export declare const whenMouse: (handler: WhenMouseHandler) => WhenMouseHandler;
export declare const getEventCode: (event: KeyboardEvent) => string;
export declare const getEventKey: (event: KeyboardEvent) => string;
export {};