import { type KeysetWithSecrets } from '@localfirst/crdx'; import { type TeamState } from 'team/types.js'; /** Returns all keysets from the current device's lockboxes in a structure that looks like this: * ```js * { * TEAM: { * TEAM: [ gen0, gen1, gen2, ... ], // <- all keys starting with generation 0 * ROLE: { * admin: [ gen0, ... ] * managers: [ gen0, ...] * }, * USER: { * alice: [ gen0, ... ] * } * } * ``` */ export declare const keyMap: (state: TeamState, deviceKeys: KeysetWithSecrets) => KeyMap; type KeyMap = Record>; export {}; //# sourceMappingURL=keyMap.d.ts.map