-- NETWORK


export type NetworkType = {
	Key: number,
	Ping: number,
	Events: {},
	Queue: {},
	--Watchers: { [string]: {[number]: (...any) -> (...any) }},
	Remotes: {
		Fetch: RemoteFunction,
		Send: RemoteEvent
	},
	IgnoredEvents: Map<string, boolean>,
	GetKey: (self: NetworkType) -> number,
	GetPing: (self: NetworkType) -> number,
	--Watch: (Network, name: string, callback: (...any) -> (...any)) -> (),
	--Unwatch: (Network, name: string, callback: (...any) -> (...any)) -> (),
	Add: (self: NetworkType, name: string, callback: (...any) -> (...any)) -> (),
	Remove: (self: NetworkType, name: string) -> (),
	Modify: (self: NetworkType, name: string, callback: (...any) -> (...any)) -> (),
	Send: (self: NetworkType, name: string, ...any) -> (),
	Fetch: (self: NetworkType, name: string, ...any) -> (...any)
}
