/// import { ExtendableError } from './errors'; import { IConnection, IConnectEvent, IConnectionManager } from './types'; export declare class ConnectionNotFoundError extends ExtendableError { } declare type Options = { connectionsTable?: string; }; declare class DynamoDBConnectionManager implements IConnectionManager { private connectionsTable; private db; constructor({ connectionsTable }?: Options); hydrateConnection: (connectionId: string) => Promise; registerConnection: ({ connectionId, endpoint, }: IConnectEvent) => Promise; sendToConnection: (connection: IConnection, payload: string | Buffer) => Promise; unregisterConnection: (connection: IConnection) => Promise; } export { DynamoDBConnectionManager }; export default DynamoDBConnectionManager;