import { type Keyring, type UserWithSecrets } from '@localfirst/crdx'; /** * If we're joining as a new device for an existing member, we don't have a user object yet, so we * need to get those from the graph. We use the invitation seed to generate the starter keys for the * new device. We can use these to unlock the lockboxes on the team graph that contain our user * keys. * * Because we need all previous user keys to decrypt the team graph, we return a keyring containing * the full history of user keys, along with a user object containing just the latest generation of * keys. */ export declare const getDeviceUserFromGraph: ({ serializedGraph, teamKeyring, invitationSeed, }: { serializedGraph: Uint8Array; teamKeyring: Keyring; invitationSeed: string; }) => { user: UserWithSecrets; userKeyring: Keyring; }; //# sourceMappingURL=getDeviceUserFromGraph.d.ts.map