import type { ComponentProps } from 'react'; import type { ParamListBase, StackNavigationState } from '../../react-navigation/native'; import { Protected } from '../../views/Protected'; import { type StandardExperimentalStackNavigationEventMap } from './createExperimentalStackNavigator'; import type { ExperimentalStackNavigationOptions } from './types'; declare const RNExperimentalStack: import("react").ForwardRefExoticComponent, ExperimentalStackNavigationOptions, StandardExperimentalStackNavigationEventMap>, "initialRouteName"> & Omit & { unstable_screenErrorBoundary?: React.ComponentType; }, "children"> & Partial, ExperimentalStackNavigationOptions, StandardExperimentalStackNavigationEventMap>, "initialRouteName"> & Omit & { unstable_screenErrorBoundary?: React.ComponentType; }, "children">> & import("react").RefAttributes> & { Screen: (props: import("../..").ScreenProps, StandardExperimentalStackNavigationEventMap>) => 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.Element) & { Screen: (({ children, options, ...rest }: import("../stack-utils").StackScreenProps) => import("react").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';