import { KnexClient } from "@webiny/api-core-sql"; import { ConnectionRegistry } from "@webiny/api-websockets/exports/api.js"; import { TableName } from "./TableName/abstractions.js"; declare class WebsocketsConnectionRegistryImpl implements ConnectionRegistry.Interface { private readonly knex; private readonly tableName; constructor(knex: KnexClient.Interface, tableName: TableName.Interface); register(event: ConnectionRegistry.RegisterParams): Promise; unregister(event: ConnectionRegistry.UnregisterParams): Promise; listViaConnections(connections: string[]): Promise; listViaIdentity(identity: string): Promise; listViaTenant(tenant: string): Promise; listAll(): Promise; updateLastSeen(connectionId: string): Promise; listStale(olderThan: Date): Promise; private ensureTable; private migrateTable; private migrateLastSeen; private toData; } export declare const WebsocketsConnectionRegistry: typeof WebsocketsConnectionRegistryImpl & { __abstraction: import("@webiny/di").Abstraction; }; export {};