import { RecordProxy, RecordSourceSelectorProxy, Variables } from 'relay-runtime';
import { GroupTitleFragment$key } from '../../../__generated__/GroupTitleFragment.graphql';
import { MembersListFragment$data } from '../../../__generated__/MembersListFragment.graphql';
import { RoomTitleFragment$key } from '../../../__generated__/RoomTitleFragment.graphql';
import { TitleFragment$data } from '../../../__generated__/TitleFragment.graphql';
export declare const useGroupNameAndAvatar: (headerRef: GroupTitleFragment$key | RoomTitleFragment$key | null | undefined) => {
    title: string | null | undefined;
    avatar: string | undefined;
};
export declare const useNameAndAvatar: (roomHeader: TitleFragment$data) => {
    title: string | null | undefined;
    avatar: string | undefined;
} | {
    title: string;
    avatar?: undefined;
};
export declare const getParticipantCountString: (participantCount: number | null | undefined) => string | undefined;
export declare const getChatRoomConnections: (store: RecordSourceSelectorProxy<unknown>, profileId: string, filter?: (variables: Variables) => boolean) => RecordProxy[];
export declare const useCheckIsAdmin: (participants: MembersListFragment$data['participants']) => {
    isAdmin: boolean;
    isSoleAdmin: boolean;
};
//# sourceMappingURL=utils.d.ts.map