import type { Binding } from "./Binding"; import type { BindingsObserver } from "./BindingsObserver"; import type { VisitorBinding } from "./VisitorBinding"; import type { EltRef, Widget } from "../binder/BaseBinderBuilder"; import type { BaseUpdateBinder } from "../binder/BaseUpdateBinder"; import type { InteractionBinder } from "../binder/InteractionBinder"; import type { InteractionUpdateBinder } from "../binder/InteractionUpdateBinder"; import type { KeyInteractionBinder } from "../binder/KeyInteractionBinder"; import type { KeyInteractionUpdateBinder } from "../binder/KeyInteractionUpdateBinder"; import type { Command } from "../command/Command"; import type { FourTouchData } from "../interaction/FourTouchData"; import type { Interaction, InteractionsDataTypes } from "../interaction/Interaction"; import type { KeyData } from "../interaction/KeyData"; import type { KeysData } from "../interaction/KeysData"; import type { LineTouchData } from "../interaction/LineTouchData"; import type { MousePointsData } from "../interaction/MousePointsData"; import type { MultiTouchData } from "../interaction/MultiTouchData"; import type { PointData } from "../interaction/PointData"; import type { PointsData } from "../interaction/PointsData"; import type { RotationTouchData } from "../interaction/RotationTouchData"; import type { ScaleTouchData } from "../interaction/ScaleTouchData"; import type { ScrollData } from "../interaction/ScrollData"; import type { SrcTgtPointsData } from "../interaction/SrcTgtPointsData"; import type { TapsData } from "../interaction/TapsData"; import type { ThenData } from "../interaction/ThenData"; import type { ThreeTouchData } from "../interaction/ThreeTouchData"; import type { TouchData } from "../interaction/TouchData"; import type { GeneralTwoTouchData, TwoTouchData } from "../interaction/TwoTouchData"; import type { WheelData } from "../interaction/WheelData"; import type { WidgetData } from "../interaction/WidgetData"; import type { Logger } from "../logging/Logger"; import type { UndoHistoryBase } from "../undo/UndoHistoryBase"; export type PartialButtonTypedBinder = InteractionBinder>, A>; export type PartialInputTypedBinder = InteractionBinder>, A>; export type PartialSelectTypedBinder = InteractionBinder>, A>; export type PartialSpinnerTypedBinder = InteractionUpdateBinder>, A>; export type PartialAnchorTypedBinder = InteractionBinder>, A>; export type PartialTextInputTypedBinder = InteractionUpdateBinder>, A>; export type PartialRotateTypedBinder = InteractionUpdateBinder, A>; export type PartialScaleTypedBinder = InteractionUpdateBinder, A>; export type PartialTwoPanTypedBinder = InteractionUpdateBinder, A>; export type PartialTwoTouchTypedBinder = InteractionUpdateBinder, A>; export type PartialThreeTouchTypedBinder = InteractionUpdateBinder, A>; export type PartialFourTouchTypedBinder = InteractionUpdateBinder, A>; export type PartialTouchSrcTgtTypedBinder = InteractionUpdateBinder>, A>; export type PartialMultiTouchTypedBinder = InteractionUpdateBinder, A>; export type PartialTapsTypedBinder = InteractionUpdateBinder, A>; export type PartialTapTypedBinder = InteractionUpdateBinder, A>; export type PartialTouchTypedBinder = InteractionUpdateBinder, A>; export type PartialPointTypedBinder = InteractionBinder, A>; export type PartialWheelTypedBinder = InteractionBinder, A>; export type PartialScrollTypedBinder = InteractionBinder, A>; export type PartialUpdatePointTypedBinder = InteractionUpdateBinder, A>; export type PartialPointsTypedBinder = InteractionUpdateBinder, A>; export type PartialPointSrcTgtTypedBinder = InteractionUpdateBinder>, A>; export type PartialKeyTypedBinder = KeyInteractionBinder, A>; export type PartialKeysTypedBinder = KeyInteractionUpdateBinder, A>; export type PartialPointOrTouchTypedBinder = InteractionBinder, A>; export type PartialPointsOrTapsTypedBinder = InteractionUpdateBinder>, A>; export type PartialTouchMouseDnDTypedBinder = InteractionUpdateBinder>, A>; export type PartialThenBinder>, A = unknown> = InteractionUpdateBinder>>, A, ThenData>>; export declare abstract class Bindings { abstract readonly undoHistory: H; abstract readonly logger: Logger; abstract nodeBinder(accInit?: A): BaseUpdateBinder; abstract buttonBinder(accInit?: A): PartialButtonTypedBinder; abstract checkboxBinder(accInit?: A): PartialInputTypedBinder; abstract colorPickerBinder(accInit?: A): PartialInputTypedBinder; abstract comboBoxBinder(accInit?: A): PartialSelectTypedBinder; abstract spinnerBinder(accInit?: A): PartialSpinnerTypedBinder; abstract dateBinder(accInit?: A): PartialInputTypedBinder; abstract hyperlinkBinder(accInit?: A): PartialAnchorTypedBinder; abstract textInputBinder(timeout?: number, accInit?: A): PartialTextInputTypedBinder; abstract touchDnDBinder(cancellable: boolean, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract reciprocalTouchDnDBinder(handle: EltRef, spring: EltRef, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract multiTouchBinder(nbTouches: number, accInit?: A): PartialMultiTouchTypedBinder; abstract twoTouchBinder(accInit?: A): PartialTwoTouchTypedBinder; abstract threeTouchBinder(accInit?: A): PartialThreeTouchTypedBinder; abstract fourTouchBinder(accInit?: A): PartialFourTouchTypedBinder; abstract tapsBinder(tapsCount: number, accInit?: A): PartialTapsTypedBinder; abstract tapBinder(accInit?: A): PartialTapTypedBinder; abstract touchStartBinder(accInit?: A): PartialTouchTypedBinder; abstract longTouchBinder(duration: number, accInit?: A): PartialTouchTypedBinder; abstract panBinder(cancellable: boolean, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panVerticalBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panHorizontalBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panLeftBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panRightBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panTopBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract panBottomBinder(pxTolerance: number, cancellable: boolean, minLength?: number, minVelocity?: number, accInit?: A): PartialTouchSrcTgtTypedBinder; abstract twoPanVerticalBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract twoPanHorizontalBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract twoPanLeftBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract twoPanRightBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract twoPanTopBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract twoPanBottomBinder(pxTolerance: number, minLength?: number, minVelocity?: number, accInit?: A): PartialTwoPanTypedBinder; abstract rotateBinder(pxTolerance: number, accInit?: A): PartialRotateTypedBinder; abstract scaleBinder(pxTolerance: number, accInit?: A): PartialScaleTypedBinder; abstract clickBinder(accInit?: A): PartialPointTypedBinder; abstract wheelBinder(accInit?: A): PartialWheelTypedBinder; abstract dbleClickBinder(accInit?: A): PartialUpdatePointTypedBinder; abstract mouseDownBinder(accInit?: A): PartialPointTypedBinder; abstract mouseUpBinder(accInit?: A): PartialPointTypedBinder; abstract longMouseDownBinder(duration: number, accInit?: A): PartialUpdatePointTypedBinder; abstract clicksBinder(nbClicks: number, accInit?: A): PartialPointsTypedBinder; abstract mouseEnterBinder(withBubbling: boolean, accInit?: A): PartialPointTypedBinder; abstract mouseLeaveBinder(withBubbling: boolean, accInit?: A): PartialPointTypedBinder; abstract mouseMoveBinder(accInit?: A): PartialPointTypedBinder; abstract scrollBinder(accInit?: A): PartialScrollTypedBinder; abstract dndBinder(cancellable: boolean, accInit?: A): PartialPointSrcTgtTypedBinder; abstract reciprocalDndBinder(handle: EltRef, spring: EltRef, accInit?: A): PartialPointSrcTgtTypedBinder; abstract dragLockBinder(accInit?: A): PartialPointSrcTgtTypedBinder; abstract keyDownBinder(modifierAccepted: boolean, accInit?: A): PartialKeyTypedBinder; abstract keysDownBinder(accInit?: A): PartialKeysTypedBinder; abstract keyUpBinder(modifierAccepted: boolean, accInit?: A): PartialKeyTypedBinder; abstract keysTypeBinder(accInit?: A): PartialKeysTypedBinder; abstract keyTypeBinder(accInit?: A): PartialKeyTypedBinder; abstract mouseDownOrTouchStartBinder(accInit?: A): PartialPointOrTouchTypedBinder; abstract tapsOrClicksBinder(nbTap: number, accInit?: A): PartialPointsOrTapsTypedBinder; abstract tapOrClickBinder(accInit?: A): PartialPointOrTouchTypedBinder; abstract longpressOrTouchBinder(duration: number, accInit?: A): PartialPointOrTouchTypedBinder; abstract reciprocalMouseOrTouchDnD(handle: EltRef, spring: EltRef, accInit?: A): PartialTouchMouseDnDTypedBinder; abstract undoRedoBinder(undo: Widget, redo: Widget, catchFn?: ((err: unknown) => void)): [ Binding>, unknown>, Binding>, unknown> ]; abstract combine>, A>(interactions: XS, accInit?: A): PartialThenBinder; abstract clear(): void; abstract setBindingObserver(obs?: BindingsObserver): void; abstract acceptVisitor(visitor: VisitorBinding): void; }