import type { NativeStackNavigationOptions } from '@react-navigation/native-stack'; import { ColorValue } from 'react-native'; import { type IconString } from './icon'; interface HeaderTextButtonProps { onPress: () => void; title?: string; disabled?: boolean; } export declare const HeaderTextButton: ({ onPress, title, ...props }: HeaderTextButtonProps) => import("react/jsx-runtime").JSX.Element; interface HeaderDismissButtonProps { onPress: () => void; title?: string; tintColor?: ColorValue; } export declare const HeaderDismissButton: ({ onPress, title, tintColor, ...props }: HeaderDismissButtonProps) => import("react/jsx-runtime").JSX.Element; export type OptionsDecorator = (options: NativeStackNavigationOptions) => NativeStackNavigationOptions; export declare const composeOptions: (base: NativeStackNavigationOptions, ...decorators: OptionsDecorator[]) => NativeStackNavigationOptions; interface TextButtonDecoratorProps { text: string; onPress: () => void; disabled?: boolean; } export declare const withRightText: ({ text, onPress, disabled }: TextButtonDecoratorProps) => OptionsDecorator; export declare const useHeaderSlotReserve: () => number; export interface HeaderIconProps { icon: IconString; accessibilityLabel: string; onPress: () => void; disabled?: boolean; prominent?: boolean; tintColor?: ColorValue; } export declare const withRightIcon: (props: HeaderIconProps) => OptionsDecorator; export declare const withLeftIcon: (props: HeaderIconProps) => OptionsDecorator; export declare const withRightClose: ({ onPress }: { onPress: () => void; }) => OptionsDecorator; export declare const withLeftClose: ({ onPress }: { onPress: () => void; }) => OptionsDecorator; export declare const withRightDone: ({ onPress }: { onPress: () => void; }) => OptionsDecorator; export declare const withMinimalBack: ({ onPress }: { onPress: () => void; }) => OptionsDecorator; type UseHeaderRightOptions = { onPress: () => void; disabled?: boolean; enabled?: boolean; } & ((Omit & { title?: never; }) | { title: string; icon?: never; accessibilityLabel?: never; prominent?: never; }); export declare const useHeaderRight: (options: UseHeaderRightOptions) => void; export {}; //# sourceMappingURL=platform_modal_header_buttons.d.ts.map