import { type Connection, type ConnectionEvents } from 'connection/index.js'; import { type UserStuff } from './setup.js'; export declare const tryToConnect: (a: UserStuff, b: UserStuff) => Promise; /** Connects the two members and waits for them to be connected */ export declare const connect: (a: UserStuff, b: UserStuff) => Promise; /** Connects a member with an invitee. */ export declare const connectWithInvitation: (member: UserStuff, invitee: UserStuff, seed: string) => Promise; export declare const connectPhoneWithInvitation: (user: UserStuff, seed: string) => Promise; /** Passes if each of the given members is on the team, and knows every other member on the team */ export declare const expectEveryoneToKnowEveryone: (...members: UserStuff[]) => void; /** Disconnects the two members and waits for them to be disconnected */ export declare const disconnect: (a: UserStuff, b: UserStuff) => Promise<[void, Connection, Connection]>; export declare const connection: (a: UserStuff, b: UserStuff) => Promise; export declare const updated: (a: UserStuff, b: UserStuff) => Promise; export declare const anyUpdated: (a: UserStuff, b: UserStuff) => Promise; export declare const anyDisconnected: (a: UserStuff, b: UserStuff) => Promise; export declare const disconnection: (a: UserStuff, b: UserStuff) => Promise; export declare const all: (connections: Connection[], event: keyof ConnectionEvents) => Promise; export declare const any: (connections: Connection[], event: keyof ConnectionEvents) => Promise; //# sourceMappingURL=connectionHelpers.d.ts.map