import React from 'react'; import { ViewStyle, StyleProp } from 'react-native'; import { Edge } from 'react-native-safe-area-context'; import type { HeaderAction, HeaderProps } from '../Header/Header'; import { DrawerConfig } from '../../../navigation/types'; import { TestableProps } from '../../common/test'; import { GradientProps } from '../../common/gradient'; export interface PageProps extends TestableProps, GradientProps { children: React.ReactNode; headerShown?: boolean; headerProps?: HeaderProps; headerActions?: HeaderAction[]; style?: StyleProp; contentStyle?: StyleProp; backgroundColor?: string; scrollable?: boolean; padding?: number; safeAreaEdges?: Edge[]; statusBarStyle?: 'light-content' | 'dark-content' | 'default'; statusBarBackgroundColor?: string; leftDrawer?: DrawerConfig; rightDrawer?: DrawerConfig; dismissKeyboardOnTapOutside?: boolean; keyboardAvoiding?: boolean; } /** * 函数注释:Page(键盘避让布局) * - Header 固定在避让视图之外,避免随内容上移。 * - 两端统一使用 keyboard-controller 的 KeyboardAvoidingView(translate-with-padding)。 */ export declare const Page: React.FC; export default Page; //# sourceMappingURL=Page.d.ts.map