import type { ComponentProps } from 'react'; import type { ExperimentalStackNavigationEventMap, ExperimentalStackNavigationOptions } from './types'; import type { ParamListBase, StackNavigationState } from '../../react-navigation/native'; import { Protected } from '../../views/Protected'; declare const RNExperimentalStack: import("react").ForwardRefExoticComponent & import("../../react-navigation").DefaultRouterOptions & ({ children: React.ReactNode; layout?: ((props: { state: StackNavigationState; navigation: import("../../react-navigation").NavigationHelpers; descriptors: Record, ExperimentalStackNavigationOptions, ExperimentalStackNavigationEventMap>, import("../../react-navigation").RouteProp>>; children: React.ReactNode; }) => React.ReactElement) | undefined; screenListeners?: Partial<{ transitionStart: import("../../react-navigation").EventListenerCallback>, "transitionStart", unknown>; transitionEnd: import("../../react-navigation").EventListenerCallback>, "transitionEnd", unknown>; gestureCancel: import("../../react-navigation").EventListenerCallback>, "gestureCancel", unknown>; focus: import("../../react-navigation").EventListenerCallback>, "focus", unknown>; blur: import("../../react-navigation").EventListenerCallback>, "blur", unknown>; state: import("../../react-navigation").EventListenerCallback>, "state", unknown>; beforeRemove: import("../../react-navigation").EventListenerCallback>, "beforeRemove", true>; }> | ((props: { route: import("../../react-navigation").RouteProp; navigation: import("./types").ExperimentalStackNavigationProp; }) => Partial<{ transitionStart: import("../../react-navigation").EventListenerCallback>, "transitionStart", unknown>; transitionEnd: import("../../react-navigation").EventListenerCallback>, "transitionEnd", unknown>; gestureCancel: import("../../react-navigation").EventListenerCallback>, "gestureCancel", unknown>; focus: import("../../react-navigation").EventListenerCallback>, "focus", unknown>; blur: import("../../react-navigation").EventListenerCallback>, "blur", unknown>; state: import("../../react-navigation").EventListenerCallback>, "state", unknown>; beforeRemove: import("../../react-navigation").EventListenerCallback>, "beforeRemove", true>; }>) | undefined; screenOptions?: ExperimentalStackNavigationOptions | ((props: { route: import("../../react-navigation").RouteProp; navigation: import("./types").ExperimentalStackNavigationProp; theme: ReactNavigation.Theme; }) => ExperimentalStackNavigationOptions) | undefined; screenLayout?: ((props: import("../../react-navigation").ScreenLayoutArgs>) => React.ReactElement) | undefined; UNSTABLE_router?: (>(original: import("../../react-navigation").Router, Action>) => Partial, Action>>) | undefined; UNSTABLE_routeNamesChangeBehavior?: "firstMatch" | "lastUnhandled"; } & ({ id?: undefined; } | { id: string; })), "children"> & Partial & import("../../react-navigation").DefaultRouterOptions & ({ children: React.ReactNode; layout?: ((props: { state: StackNavigationState; navigation: import("../../react-navigation").NavigationHelpers; descriptors: Record, ExperimentalStackNavigationOptions, ExperimentalStackNavigationEventMap>, import("../../react-navigation").RouteProp>>; children: React.ReactNode; }) => React.ReactElement) | undefined; screenListeners?: Partial<{ transitionStart: import("../../react-navigation").EventListenerCallback>, "transitionStart", unknown>; transitionEnd: import("../../react-navigation").EventListenerCallback>, "transitionEnd", unknown>; gestureCancel: import("../../react-navigation").EventListenerCallback>, "gestureCancel", unknown>; focus: import("../../react-navigation").EventListenerCallback>, "focus", unknown>; blur: import("../../react-navigation").EventListenerCallback>, "blur", unknown>; state: import("../../react-navigation").EventListenerCallback>, "state", unknown>; beforeRemove: import("../../react-navigation").EventListenerCallback>, "beforeRemove", true>; }> | ((props: { route: import("../../react-navigation").RouteProp; navigation: import("./types").ExperimentalStackNavigationProp; }) => Partial<{ transitionStart: import("../../react-navigation").EventListenerCallback>, "transitionStart", unknown>; transitionEnd: import("../../react-navigation").EventListenerCallback>, "transitionEnd", unknown>; gestureCancel: import("../../react-navigation").EventListenerCallback>, "gestureCancel", unknown>; focus: import("../../react-navigation").EventListenerCallback>, "focus", unknown>; blur: import("../../react-navigation").EventListenerCallback>, "blur", unknown>; state: import("../../react-navigation").EventListenerCallback>, "state", unknown>; beforeRemove: import("../../react-navigation").EventListenerCallback>, "beforeRemove", true>; }>) | undefined; screenOptions?: ExperimentalStackNavigationOptions | ((props: { route: import("../../react-navigation").RouteProp; navigation: import("./types").ExperimentalStackNavigationProp; theme: ReactNavigation.Theme; }) => ExperimentalStackNavigationOptions) | undefined; screenLayout?: ((props: import("../../react-navigation").ScreenLayoutArgs>) => React.ReactElement) | undefined; UNSTABLE_router?: (>(original: import("../../react-navigation").Router, Action>) => Partial, Action>>) | undefined; UNSTABLE_routeNamesChangeBehavior?: "firstMatch" | "lastUnhandled"; } & ({ id?: undefined; } | { id: string; })), "children">> & import("react").RefAttributes & { unstable_screenErrorBoundary?: import("react").ComponentType; }> & { Screen: (props: import("../..").ScreenProps, ExperimentalStackNavigationEventMap>) => null; Protected: typeof Protected; }; /** * Renders the new `react-native-screens/experimental` native stack. * * Sibling to `Stack`. Native-only — on web it falls back to the standard `Stack`. * Opt-in per navigator: replace `` with `` in the * specific layout you want to migrate. * * @experimental */ declare const ExperimentalStack: ((props: ComponentProps) => import("react/jsx-runtime").JSX.Element) & { Screen: (({ children, options, ...rest }: import("../stack-utils").StackScreenProps) => import("react/jsx-runtime").JSX.Element) & { Title: typeof import("../stack-utils").StackTitle; BackButton: typeof import("../stack-utils").StackScreenBackButton; }; Protected: import("react").FunctionComponent; }; export { ExperimentalStack }; export default ExperimentalStack; export type { ExperimentalStackNavigationOptions, ExperimentalStackNavigationEventMap, ExperimentalStackNavigationProp, ExperimentalStackScreenProps, ExperimentalStackNavigationHelpers, } from './types'; //# sourceMappingURL=index.d.ts.map