import type { Request, Response, Datagram } from "../Independents/Datagram/datagram-types.js"; export type { Jsonable } from "../Independents/Datagram/datagram-types.js"; export declare type OutgoingPulse = { interval: any | null; host: string; heartbeat: number; inactive: number; }; export declare type TTransport = {}; export declare type THostExtension = {}; export declare type TResolveHostType = "gateway" | "unknown" | "vagrant" | "domain"; export declare type IncomingPulse = { last: number; }; export declare type BurpaDriver = { externalFetch(ssl: boolean, request: Request): Promise; createSocket(url: string, onMessage: (message: ArrayBuffer) => void, onOpen: (socket: any) => void, onError: (socket: any, cause: string) => void): any; isSocketOpen(socket: any): boolean; socketSend(socket: any, message: ArrayBuffer): boolean; socketStatus(socket: any): string; initialize(state: any): Promise; }; export declare type Heartbeat = { heartbeat: number; } & Datagram; export declare type BurpanetConfig = { localHost?: { host: string; secret: string; }; localGateway?: { gateway: string; secret: string; }; rootHost?: string; rootGateway?: string; };