import { AttachSession, DetachSession, RaceCancellation } from "../types"; export type DispatchEvent = (sessionId: SessionId, event: string, params?: object) => void; export type Send = (method: Method, params?: Params, raceCancellation?: RaceCancellation, sessionId?: SessionId) => Promise; export default function newSessions(send: Send, raceClose: RaceCancellation): [ AttachSession, DetachSession, DispatchEvent ]; //# sourceMappingURL=newSessions.d.ts.map