import React from 'react'; import type { Animated } from 'react-native'; import type { AccessibilityPropsType } from '../../../utils/accessibility-helper'; import type { IconType } from '../../../constants/iconsConfig'; export declare const TITLE_SIZES: readonly ["normal", "large"]; export declare type TitleSize = (typeof TITLE_SIZES)[number]; export declare type ShowBrandLogoType = boolean; export declare const LEFT_ICON_TYPES: readonly ["back", "cancel", "confirm"]; export declare type LeftIconType = IconType; export declare const RIGHT_ICON_TYPES: readonly ["more", "confirm"]; export declare type RightIconType = IconType | null | undefined; export declare const COLOR_STRATEGIES: readonly ["auto", "forceDark"]; export declare type ColorStrategy = (typeof COLOR_STRATEGIES)[number]; export interface LeftButtonConfig { key: LeftIconType; onPress?: () => void; disable?: boolean; showDot?: boolean; accessibilityLabel?: string; accessibilityHint?: string; } export interface RightButtonConfig { key: RightIconType; onPress?: () => void; disable?: boolean; showDot?: boolean; accessibilityLabel?: string; accessibilityHint?: string; } export interface NavigationBarProps extends AccessibilityPropsType { titleSize?: TitleSize; showBrandLogo?: ShowBrandLogoType; left?: LeftButtonConfig; right?: RightButtonConfig; colorStrategy?: ColorStrategy; title?: string | React.ReactElement; backgroundColor?: string; collapseTitle?: boolean; titleVisible?: boolean; titleOpacity?: number | Animated.AnimatedInterpolation; } interface NavigationBarComponent extends React.FC { ICON: { readonly BACK: 'back'; readonly CANCEL: 'cancel'; readonly CONFIRM: 'confirm'; readonly MORE: 'more'; readonly PREFERENCES: 'preferences'; readonly PREFERENCES_SELECTED: 'preferencesSelected'; readonly LISTCHECK: 'listcheck'; readonly ADD: 'add'; readonly INFO: 'info'; readonly DELETE: 'delete'; readonly HELP: 'help'; readonly SEARCH: 'search'; }; } export type { NavigationBarComponent };