import type { RemoteSkillsAuthClient } from "./remote-auth.js"; import { type RemoteWorkspaceContext } from "./remote-workspace-selection.js"; import { type InvitationAction, type InvitationInputs, type InvitationResults } from "./remote-invitations.js"; /** A saved profile constrains explicit input; it never silently supplies another target. */ export declare function invitationProfileContext(userId: string, membershipId: string, profile?: RemoteWorkspaceContext): Readonly<{ userId: string; membershipId: string; }>; /** Surface adapters share this dispatch; the remote client owns validation and transport. */ export declare function invokeFreshInvitation(client: RemoteSkillsAuthClient, email: string, code: string, context: RemoteWorkspaceContext, action: A, input: InvitationInputs[A]): Promise; export declare function invitationCustomerError(error: unknown): { code: string; error: string; };