import type { BaseSyncModel, ConnectionStatus } from '../../../../core/src';
export interface ConnectionInfo {
    status: ConnectionStatus;
    isWebRTC: boolean;
    isWebSocket: boolean;
    isOffline: boolean;
    peerCount: number;
    connectionType: string;
    latency?: number;
}
export declare function useConnection(model: BaseSyncModel): ConnectionInfo;
export declare function useIsConnected(model: BaseSyncModel): boolean;
export declare function usePeerCount(model: BaseSyncModel): number;
export declare function useConnectionType(model: BaseSyncModel): 'webrtc' | 'websocket' | 'offline' | 'broadcast';
