import { RecordSourceSelectorProxy } from 'relay-runtime';
import { useRoomListSubscription$data } from '../../../../../__generated__/useRoomListSubscription.graphql';
export declare const RoomListSubscriptionQuery: import("relay-runtime").GraphQLTaggedNode;
export declare const wasRemovedFromChatRoom: (data: useRoomListSubscription$data | null | undefined, profileId: string) => boolean | undefined;
export declare const getRoomListSubscriptionConfig: (profileId: string, connections: string[], selectedRoom: string | undefined, resetChatRoom: VoidFunction, onRemoval?: VoidFunction | undefined) => {
    subscription: import("relay-runtime").GraphQLTaggedNode;
    onError: {
        (...data: any[]): void;
        (message?: any, ...optionalParams: any[]): void;
        (message?: any, ...optionalParams: any[]): void;
    };
    variables: {
        profileId: string;
        connections: string[];
    };
    updater: (store: RecordSourceSelectorProxy<unknown>, data: useRoomListSubscription$data | null | undefined) => void;
    onNext: (data: useRoomListSubscription$data | null | undefined) => void;
};
export declare const useRoomListSubscription: ({ connections, profileId, onRemoval, }: {
    connections: string[];
    profileId: string;
    onRemoval?: VoidFunction;
    isRemoval?: boolean;
}) => void;
//# sourceMappingURL=useRoomListSubscription.d.ts.map