import type { ProxyBridgePartition, AuxPartitionBase, AuxPartitionRealtimeStrategy } from './AuxPartition'; import type { Bot, UpdatedBot, BotAction, StateUpdatedEvent } from '../bots'; import type { Observable } from 'rxjs'; import type { Action, CurrentVersion, RemoteActions, StatusUpdate } from '../common'; export declare class ProxyBridgePartitionImpl implements ProxyBridgePartition { get private(): boolean; get realtimeStrategy(): AuxPartitionRealtimeStrategy; get onBotsAdded(): Observable; get onBotsRemoved(): Observable; get onBotsUpdated(): Observable; get onStateUpdated(): Observable; get onError(): Observable; get onEvents(): Observable; get onStatusUpdated(): Observable; get onVersionUpdated(): Observable; get space(): string; set space(value: string); private _sub; private _partition; constructor(partition: AuxPartitionBase); applyEvents(events: BotAction[]): Promise; sendRemoteEvents(events: RemoteActions[]): Promise; connect(): void; addListeners(onBotsAdded?: (bot: Bot[]) => void, onBotsRemoved?: (bot: string[]) => void, onBotsUpdated?: (bots: UpdatedBot[]) => void, onStateUpdated?: (update: StateUpdatedEvent) => void, onError?: (error: any) => void, onEvents?: (actions: Action[]) => void, onStatusUpdated?: (status: StatusUpdate) => void, onVersionUpdated?: (version: CurrentVersion) => void): Promise; setSpace(space: string): Promise; get closed(): boolean; unsubscribe(): void; } //# sourceMappingURL=ProxyBridgePartition.d.ts.map