import type { IScreenChangePayload } from '../NativeDxaReactNative'; /** * Payload sent to the native module to report a screen change event. */ export declare class ScreenChangePayload implements IScreenChangePayload { screenHierarchy: ScreenHierarchyElement[]; changeType: ScreenChangeType; detectionType: ScreenDetectionType; /** * @param {ScreenHierarchyElement[]} screenHierarchy - Hierarchy of active screens that make up the UI. * @param {ScreenChangeType} changeType - Type of the screen change. * @param {ScreenDetectionType} detectionType - Method of detecting the screen change. */ constructor(screenHierarchy: ScreenHierarchyElement[], changeType: ScreenChangeType, detectionType: ScreenDetectionType); } /** * Represents a screen element in the hierarchy. */ export declare class ScreenHierarchyElement { screenName: string; screenType: string; /** * @param {string} screenName - The name of the screen. * @param {string} [screenType='screen'] - The type of the screen (default is 'screen'). */ constructor(screenName: string, screenType?: string); } /** * Type of the screen change (allowed values). */ export declare const SCREEN_CHANGE_TYPE_VALUES: readonly ["appear", "disappear"]; /** * Type of the screen change. */ export type ScreenChangeType = (typeof SCREEN_CHANGE_TYPE_VALUES)[number]; /** * Method of detecting the screen change (allowed values). */ export declare const SCREEN_DETECTION_TYPE_VALUES: readonly ["auto", "manual"]; /** * Method of detecting the screen change. */ export type ScreenDetectionType = (typeof SCREEN_DETECTION_TYPE_VALUES)[number]; //# sourceMappingURL=ScreenChangePayload.d.ts.map