export interface CloseScreenData { /** * Error message. * @requiredField error */ error: string; /** * Data sent when a screen closes to the screen beneath it in the stack. Learn more about [stack navigation](https://dev.wix.com/docs/velo/apis/wix-navigate-mobile/introduction#apis_wix-navigate-mobile_stack-navigation). * @requiredField data */ data: object; } export interface CloseScreenResult { /** * Error message. * @requiredField error */ error: string; /** * Data sent when a screen closes to the screen beneath it in the stack. Learn more about [stack navigation](https://dev.wix.com/docs/velo/apis/wix-navigate-mobile/introduction#apis_wix-navigate-mobile_stack-navigation). * @requiredField data */ data: object; } export interface ClosedScreenData { /** * Error message. * @requiredField error */ error: string; /** * Data sent when a screen closes to the screen beneath it in the stack. Learn more about [stack navigation](https://dev.wix.com/docs/velo/apis/wix-navigate-mobile/introduction#apis_wix-navigate-mobile_stack-navigation). * @requiredField data */ data: object; } export interface ScreenContext { /** * The screen's data, defined when the screen is opened by `toScreen()`. */ data?: object; } export interface TargetScreenData { /** * Error message. * @requiredField error */ error: string; /** * Data sent when a screen closes back to the screen that opened it. * @requiredField data */ data: Serializable; }