import type { EventTypes, UserInfo, Client } from 'web2-mq';
declare type StatusType = {
    error: boolean;
    loading: boolean;
};
export declare const usePaginatedContacts: (client: Client) => {
    status: StatusType;
    contacts: UserInfo[];
    refreshing: boolean;
    loadNextPage: () => void;
    handleEvent: (props: {
        type: EventTypes;
    }) => void;
    queryContacts: () => Promise<void>;
    changeActiveContactEvent: (contact: UserInfo) => void;
    activeContact: UserInfo | null;
};
export {};
