/** * `hq accept` command — accept a membership invite (VLT-7 US-003). * * Parses magic links (hq://accept/ or raw tokens), resolves the * caller's identity from Cognito, and calls VaultClient.acceptInvite(). */ import type { VaultServiceConfig } from "../types.js"; import type { Membership } from "../vault-client.js"; export interface AcceptOptions { /** Raw token or magic link (hq://accept/) */ tokenOrLink: string; /** Caller's person UID (from Cognito) */ callerUid: string; /** Vault service config */ vaultConfig: VaultServiceConfig; } export interface AcceptResult { membership: Membership; companySlug?: string; } /** * Parse a magic link or raw token into the raw invite token. */ export declare function parseToken(tokenOrLink: string): string; /** * Accept a membership invite. */ export declare function accept(options: AcceptOptions): Promise; //# sourceMappingURL=accept.d.ts.map