import { HMSPeer, HMSPeerListIteratorOptions } from '@100mslive/hms-video-store'; export interface usePaginatedParticipantsResult { /** * call this function to load initial peers and also when you want to poll the peers information */ loadPeers: Promise; /** * this function is to be called when loadPeers is called at least once. This will fetch the next batch of peers */ loadMorePeers: Promise; hasNext: () => boolean; peers: HMSPeer[]; total: number; } export declare type usePaginatedParticipantsInput = HMSPeerListIteratorOptions; export declare const usePaginatedParticipants: (options: HMSPeerListIteratorOptions) => { loadPeers: () => Promise; loadMorePeers: () => Promise; hasNext: () => boolean; total: number; peers: HMSPeer[]; };