import { DynamoService } from './dynamodbClient'; import { ConnectionOptions, TopicRow, TopicSubscriptionPayload } from './types'; declare class ConnectionManager { connectionId: string; private gatewayService; private dynamoDbService; private ttl?; constructor(connectionId: string, dynamoDbService: DynamoService, options: ConnectionOptions); getConnectionRecords(): Promise<{ context: any; } | undefined>; getTopics(): Promise; unsubscribe(): Promise; setConnectionContext(context: any): Promise>; sendMessage(message: any): Promise<{ $response: import("aws-sdk/lib/response").Response<{}, import("aws-sdk/lib/error").AWSError>; }>; subscribe({ context, topic, subscriptionId, operation }: TopicSubscriptionPayload): Promise>; connect(additionalContext?: any): Promise>; } export default ConnectionManager; //# sourceMappingURL=ConnectionManager.d.ts.map