import { Connection } from '../DataStructures/Connection'; /** * Retrieves all connections belonging to a specific composition. * Checks local cache first, then fetches from backend if needed. * * **Complex Logic**: First checks ConnectionData cache, then fetches from API, * compares with cached data to detect deletions, and updates cache. * * @param composition_id - ID of the composition whose connections to retrieve * @returns Array of Connection objects for the composition * * @example * const connections = await GetAllConnectionsOfComposition(456); */ export declare function GetAllConnectionsOfComposition(composition_id: number): Promise; /** * Fetches connections for a composition directly from the backend. * Internal helper function for GetAllConnectionsOfComposition. * * @param composition_id - ID of the composition * @returns Array of Connection objects from backend */ export declare function GetAllConnectionsOfCompositionOnline(composition_id: number): Promise;