import { Connection } from "../DataStructures/Connection"; /** * Retrieves a connection by its ID. * Checks local cache first, then fetches from backend if needed. * * **Complex Logic**: Checks ConnectionData cache, falls back to API request, * supports cache server fallback for resilience. * * @param id - Connection ID to retrieve * @returns Connection object or default connection if not found * * @example * const connection = await GetConnection(789); */ export declare function GetConnection(id: number): Promise;