import React from 'react'; import type { LayoutChangeEvent, TextStyle, StyleProp, Animated } from 'react-native'; import type { AdornmentConfig, AdornmentStyleAdjustmentForNativeInput } from './types'; import { AdornmentSide, AdornmentType } from './enums'; export declare function getAdornmentConfig({ left, right, }: { left?: React.ReactNode; right?: React.ReactNode; }): Array; export declare function getAdornmentStyleAdjustmentForNativeInput({ adornmentConfig, leftAffixWidth, rightAffixWidth, paddingHorizontal, inputOffset, mode, }: { inputOffset?: number; adornmentConfig: AdornmentConfig[]; leftAffixWidth: number; rightAffixWidth: number; mode?: 'outlined' | 'flat'; paddingHorizontal?: number | string; }): AdornmentStyleAdjustmentForNativeInput | {}; export interface TextInputAdornmentProps { forceFocus: () => void; adornmentConfig: AdornmentConfig[]; topPosition: { [AdornmentType.Affix]: { [AdornmentSide.Left]: number | null; [AdornmentSide.Right]: number | null; }; [AdornmentType.Icon]: number; }; onAffixChange: { [AdornmentSide.Left]: (event: LayoutChangeEvent) => void; [AdornmentSide.Right]: (event: LayoutChangeEvent) => void; }; left?: React.ReactNode; right?: React.ReactNode; textStyle?: StyleProp; visible?: Animated.Value; isTextInputFocused: boolean; paddingHorizontal?: number | string; maxFontSizeMultiplier?: number | undefined | null; } declare const TextInputAdornment: React.FunctionComponent; export default TextInputAdornment;