import type * as OpenFin from '../../../../../OpenFin'; import { Transport } from '../../../../../transport/transport'; import { MessageReceiver } from './message-receiver'; import { ChannelStrategy, EndpointPayload } from '../strategy'; import { LocalSupportedProtocol } from '..'; type ProviderIdentity = OpenFin.ProviderIdentity; export declare class ClassicStrategy implements ChannelStrategy { #private; private messageReceiver; private endpointId; private providerIdentity; constructor(wire: Transport, messageReceiver: MessageReceiver, endpointId: string, // Provider endpointId is channelId providerIdentity: ProviderIdentity); onEndpointDisconnect(endpointId: string, listener: () => void): void; receive(listener: (action: string, payload: any, identity: OpenFin.ClientIdentity | OpenFin.ClientIdentityMultiRuntime | ProviderIdentity) => Promise): void; send: (endpointId: string, action: string, payload: any) => Promise; close: () => Promise; closeEndpoint(endpointId: string): Promise; isEndpointConnected(endpointId: string): boolean; addEndpoint(endpointId: string, payload: EndpointPayload): void; isValidEndpointPayload(payload: any): payload is EndpointPayload; } export declare const ClassicInfo: LocalSupportedProtocol; export {};