import { ApiError } from "./response";
type WithRequestId = {
request_id: string;
};
/**
* A connection object that allows you to `send` request payloads to a
* realtime endpoint.
*/
export interface RealtimeConnection {
send(input: Input & Partial): void;
close(): void;
}
/**
* Options for connecting to the realtime endpoint.
*/
export interface RealtimeConnectionHandler