import * as React from 'react'; import { Animated, GestureResponderHandlers, StyleProp, ViewStyle } from 'react-native'; import { ChatMessage } from '../../rename.chat'; export type MessagePinHolderProps = { style?: StyleProp | undefined; }; export declare function MessagePinPlaceholder(props: MessagePinHolderProps): import("react/jsx-runtime").JSX.Element; export declare class MessagePinPlaceholder2 extends React.PureComponent { render(): React.ReactNode; } export declare const AnimatedMessagePinPlaceholder: Animated.AnimatedComponent; export type MessagePinProps = { convId: string; convType: number; style?: StyleProp | undefined; msgPinHeightRef: React.MutableRefObject; msgPinHeightAnimate: (toValue: number, onFinished?: ((result: any) => void) | undefined, offsetToZero?: boolean) => void; msgPinLabelTranslateYRef: React.MutableRefObject; msgPinLabelTranslateYAnimate: (toValue: number, onFinished?: ((result: any) => void) | undefined) => void; msgPinBackgroundOpacityAnimate: (toValue: number, onFinished?: ((result: any) => void) | undefined) => void; msgPinPlaceHolderHeightAnimate: (toValue: number, onFinished?: ((result: any) => void) | undefined) => void; msgPinLabelCurrentTranslateY: Animated.Value; msgPinBackgroundCurrentOpacity: Animated.Value; msgPinCurrentHeight: Animated.Value; panHandlers: GestureResponderHandlers; onChangePinMaskHeight?: (height: number) => void; onRequestClose?: () => void; }; export type MessagePinState = { maxListHeight: number; }; export declare class MessagePin extends React.PureComponent { private listRef; private getListRef; private uc; private tr?; private colors?; private style?; private _maxListHeight; private _hadShow; constructor(props: MessagePinProps); componentDidMount?(): void; componentWillUnmount?(): void; show(): void; hide(): void; private onListCountChanged; private onRequestClose; addPinMessage(msg: ChatMessage): void; registerCallback(onClickedItem: (msg: ChatMessage) => void): void; private _render; render(): React.ReactNode; } export declare const AnimatedMessagePin: Animated.AnimatedComponent; //# sourceMappingURL=MessagePin.d.ts.map