import * as React from 'react'; import { ContactModel } from '../../chat'; import type { AlertRef } from '../../ui/Alert'; import { SwitchRef } from '../../ui/Switch'; import type { SimpleToastRef } from '../../ui/Toast'; import type { ContextNameMenuRef } from '../types'; import type { ContactInfoProps, ContactInfoRef } from './types'; export declare function useContactInfo(props: ContactInfoProps, ref?: React.ForwardedRef): { doNotDisturb: boolean | undefined; onDoNotDisturb: (value: boolean) => void; onClearChat: () => void; userName: string | undefined; userAvatar: string | undefined; userId: string; isContact: boolean | undefined; menuRef: React.RefObject; onRequestCloseMenu: () => void; onMore: () => void; alertRef: React.RefObject; toastRef: React.RefObject; tr: (key: string, ...args: any[]) => string; isSelf: boolean; onSendMessage: () => void; onAudioCall: () => void; onVideoCall: () => void; onAddContact: () => void; onCopyId: () => void; getNickName: () => string; onSearch: () => void; hasAudioCall: boolean; blockUser: boolean | undefined; onBlockUser: (value: boolean) => void; enableBlock: boolean | undefined; switchRef: React.RefObject; onBack?: ((data?: any) => void) | undefined; navigationBarVisible?: boolean; customNavigationBar?: React.ReactElement; onClickedNavigationBarButton?: () => void; hasSendMessage?: boolean; hasVideoCall?: boolean; containerStyle?: import("react-native").StyleProp; onInitMenu?: (initItems: import("../types").InitMenuItemsType[]) => import("../types").InitMenuItemsType[]; onInitButton?: (initButtons: React.ReactElement[]) => React.ReactElement[]; onRequestData?: (id: string) => ContactModel | Promise | undefined; onClickedContactRemark?: (userId: string, remark?: string) => void; customItemRender?: (def: React.ReactNode[]) => React.ReactNode[]; }; //# sourceMappingURL=ContactInfo.hooks.d.ts.map