import { type ReactElement } from 'react'; import type { ImageSourcePropType } from 'react-native'; import type { TabsScreenIconAndroid, TabsScreenIconIOS } from 'react-native-screens'; import type { NativeTabsTriggerIconProps } from '../common/elements'; import type { IconRenderingMode, NativeTabOptions, SymbolOrImageSource } from '../types'; export type ScreensPropsIcon = { platform: 'ios'; icon: TabsScreenIconIOS; } | { platform: 'android'; icon: TabsScreenIconAndroid; }; type PerState = T | { default?: T; selected: T; }; export declare function applyIconSrcOptions(options: NativeTabOptions, src: PerState, renderingMode: NativeTabsTriggerIconProps['renderingMode']): void; /** * Sets `icon` and `selectedIcon` from a prop that holds one value or `{ default, selected }`, * and adds the rendering mode of each state. */ export declare function applyIconStates(options: NativeTabOptions, value: PerState, toIcon: (value: T) => SymbolOrImageSource | undefined, renderingMode: PerState | undefined): void; export declare function applySelectedColor(options: NativeTabOptions, selectedColor: NativeTabOptions['selectedIconColor']): void; export {};