export type AcceptInviteResult = { userId: string; accountId: string; isNewUser: boolean; }; /** * Accepts a team invite. * * 1. Validates token (must be pending and not expired). * 2. Checks if user exists (by email). * - If no: Creates User (provider='email', no password yet). * - If yes: Uses existing User. * 3. Creates AccountUser link. * 4. Updates TeamInvite status to 'accepted'. */ export declare function acceptInvite(token: string): Promise; export declare function declineInvite(token: string): Promise; export declare function getInviteDetails(token: string): Promise; //# sourceMappingURL=accept.d.ts.map