import type * as fdc3 from '@finos/fdc3';
import { DispatchChannelClientMessage } from '../adapter/adapter.types';
import { ApiError } from '../errors/errors';
import { TerminalConnectApiTypes as TC } from '../terminal-connect/terminal-connect.types';
import { BloombergPanel, TerminalConnectSubscription } from './bloomberg.types';
export declare const subscriptions: Map<string, TerminalConnectSubscription>;
export declare const DEFAULT_TARGET: BloombergPanel;
export declare const createGroupEventsSubscription: (dispatchAdapterMessage: DispatchChannelClientMessage, groupFilter: string | string[] | null, onContextChanged?: ((context: unknown) => void) | undefined, onError?: ((error: ApiError) => void) | undefined) => Promise<TerminalConnectSubscription | undefined>;
export declare const unsubscribeGroupEvents: (dispatchAdapterMessage: DispatchChannelClientMessage, subscriptionId: string) => () => Promise<void>;
export declare const getBloombergGroupEventListener: (onGroupEvent?: ((context: unknown) => void) | undefined, onError?: ((error: ApiError) => void) | undefined) => (context: fdc3.Context) => Promise<void>;
export declare const handleGroupEvent: (subscriptionId: string, data: TC.GroupEvent) => Promise<void>;
export declare const getGroupIdsFromFilter: (dispatchAdapterMessage: DispatchChannelClientMessage) => (groupFilter: string | string[] | null) => Promise<number[] | undefined>;
export declare const updateGroupSecurity: (dispatchAdapterMessage: DispatchChannelClientMessage) => (groupFilter: string, security?: string) => Promise<void>;
