import { ApiGatewayManagementApiClient } from '@aws-sdk/client-apigatewaymanagementapi'; import { Monitoring } from '../monitoring'; export declare class ApiGatewayWebsocket { private readonly api; private readonly logger; constructor({ api, monitoring, }?: { api?: ApiGatewayManagementApiClient; monitoring?: Monitoring; }); static createEndpoint(endpoint: string): ApiGatewayWebsocket; /** * Returns true if able to write to the connection, false if not * @param connectionId * @param message */ publish(connectionId: string, message: T): Promise; } //# sourceMappingURL=apiGatewayWebsocket.d.ts.map