type EventArgument = Parameters>[0]; export declare function onMouseEnter(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onMouseLeave(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onMouseMove(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onMouseOut(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onMouseOver(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onMouseUp(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onTouchStart(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onTouchMove(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onTouchEnd(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onKeyDown(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onKeyUp(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onFocus(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onBlur(action: hyperappSubset.Dispatchable>): hyperappSubset.Subscription; export declare function onAnimationFrame(action: hyperappSubset.Dispatchable): hyperappSubset.Subscription; export declare function eventKey(e: Event): any; export declare function eventDetail(e: Event): any; export declare function targetChecked(e: Event): any; export declare function targetValue(e: Event): any; export declare function eventOptions(props: { preventDefault?: boolean, stopPropagation?: boolean, action?: hyperappSubset.Dispatchable }): hyperappSubset.Effect; export declare function preventDefault(action: hyperappSubset.Dispatchable): hyperappSubset.Action; export declare function stopPropagation(action: hyperappSubset.Dispatchable): hyperappSubset.Action; export declare function dispatchCustomEvent(props: {name: string}): hyperappSubset.Action; export declare function createOnCustomEvent(eventName: string): (action: hyperappSubset.Dispatchable) => hyperappSubset.Subscription; declare namespace hyperappSubset { type AnyState = boolean | string | number | object | symbol | null | undefined; type PayloadCreator = ((data: DPayload) => CPayload); type Dispatchable = ( State | [State, ...Effect[]] | ([Action, PayloadCreator]) | ([Action, CPayload]) | Action // (state) => ({ ... }) | (state) => ([{ ... }, effect1, ...]) | Action // (state, data) => ({ ... }) | (state, data) => ([{ ... }, effect1, ...]) ); type Dispatch = (obj: Dispatchable, data: NextPayload) => State; interface EffectRunner { (dispatch: Dispatch, props: Props): void; } type Effect = [EffectRunner, any] | [EffectRunner]; interface SubscriptionRunner { (dispatch: Dispatch, props: Props): (() => void); } type Subscription = [SubscriptionRunner, any] | [SubscriptionRunner]; interface Action { (state: State, data: Payload): Dispatchable; } }