@@ -129,13 +129,43 @@ declare module "." {
129129 rangeStart ?: number | undefined ;
130130 rangeEnd ?: number | undefined ;
131131 }
132+ export type GestureOptionsRequired = {
133+ [ P in keyof GestureOptions ] -?: NonNullable < GestureOptions [ P ] > ;
134+ } ;
132135 /** */
133136 export function unstable_startGestureTransition (
134137 provider : GestureProvider ,
135138 scope : ( ) => void ,
136139 options ?: GestureOptions ,
137140 ) : ( ) => void ;
138141
142+ interface ViewTransitionProps {
143+ onGestureEnter ?: (
144+ timeline : GestureProvider ,
145+ options : GestureOptionsRequired ,
146+ instance : ViewTransitionInstance ,
147+ types : Array < string > ,
148+ ) => void | ( ( ) => void ) ;
149+ onGestureExit ?: (
150+ timeline : GestureProvider ,
151+ options : GestureOptionsRequired ,
152+ instance : ViewTransitionInstance ,
153+ types : Array < string > ,
154+ ) => void | ( ( ) => void ) ;
155+ onGestureShare ?: (
156+ timeline : GestureProvider ,
157+ options : GestureOptionsRequired ,
158+ instance : ViewTransitionInstance ,
159+ types : Array < string > ,
160+ ) => void | ( ( ) => void ) ;
161+ onGestureUpdate ?: (
162+ timeline : GestureProvider ,
163+ options : GestureOptionsRequired ,
164+ instance : ViewTransitionInstance ,
165+ types : Array < string > ,
166+ ) => void | ( ( ) => void ) ;
167+ }
168+
139169 // @enableSrcObject
140170 interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_IMG_SRC_TYPES {
141171 srcObject : Blob ;
0 commit comments