/** * Returns true only when the user's JWT has fully upgraded to `user:basic` * with no pending scope. * * WaaS wallet creation (`createRooms`) is rejected by the backend with a 401 * for any non-`user:basic` token, so callers must wait for this before * triggering creation. Gating on the user object's requirement flags alone is * not enough: those flags can clear before the upgraded token lands, racing the * token and firing `createRooms` with a still-pending scope. */ export declare const hasUserBasicScope: (user: { scope?: string; } | undefined) => boolean;