import type { IS_NCN, IS_NPL } from 'node-insim/packets'; import type { ReactNode } from 'react'; export type Connection = Pick & { players: Player[]; }; export type Player = Pick & { connection: Connection | null; }; export declare function ConnectionsPlayersProvider({ children, }: { children: ReactNode; }): import("react").JSX.Element; export declare function useConnections(): ReadonlyMap & { map: (callback: (connection: Connection, key: number, map: Connection[]) => Item) => Item[]; }; export declare function usePlayers(): ReadonlyMap & { map: (callback: (player: Player, key: number, map: Player[]) => Item) => Item[]; };