import { SessionClient, type SessionRole } from "./session-client.js"; import { type BridgeConfig } from "./session-store.js"; export { defaultAgentName } from "./agent-identity.js"; export declare function resolveMembership(client: SessionClient, input: { sessionId: string; inviteUrl: string; inviteCode: string; role: SessionRole; name: string; workdir: string; }): Promise<{ memberId: string; role: SessionRole; displayName: string; reused: boolean; }>; /** Load a previously attached membership and hydrate the client token. */ export declare function loadAttachedClient(sessionId: string): Promise<{ client: SessionClient; config: BridgeConfig; }>; export declare function resolveAttachWorkdir(cwdFlag?: string): string;