import React, { PureComponent } from 'react'; import type { StyleProp, TextStyle, ViewStyle } from 'react-native'; export declare type FormatType = 'inward' | 'outward'; export interface SerializableMoreTextProps { numberOfCharacters: number; format?: FormatType; containerStyle?: ViewStyle; text: string; textStyle?: TextStyle; textMore?: string; textLess?: string; textMoreLessStyle?: TextStyle; } export interface MoreTextProps extends Omit { containerStyle?: StyleProp; textStyle?: StyleProp; textMoreLessStyle?: StyleProp; renderMoreLessOutwardSection?: (shouldShowMore: boolean, handlePress: () => void) => React.ReactNode; } export interface MoreTextState { shouldShowMore: boolean; visibleText: string; } export declare class MoreText extends PureComponent { constructor(props: MoreTextProps); private readonly kButtonTouchabilityOpacity; private readonly kTextMore; private readonly kTextLess; private readonly handlePress; private readonly renderMoreLessOutwardSection; private readonly renderOutward; private readonly renderInward; render(): JSX.Element; }