import { type UnixTimestamp } from '@localfirst/crdx'; import { type Invitation } from 'invitation/types.js'; export declare const IKEY_LENGTH = 16; /** * Returns an an invitation to publicly post on the team's signature chain. Inspired by Keybase's * Seitan Token v2 exchange protocol. */ export declare const create: ({ seed, maxUses, expiration, userId, }: Params) => Invitation; type Params = { /** A randomly generated secret to be passed to Bob via a side channel */ seed: string; /** Time when the invitation expires. If 0, the invitation does not expire. */ expiration?: UnixTimestamp; /** Number of times the invitation can be used. If 0, the invitation can be used any number of times. By default, an invitation can only be used once. */ maxUses?: number; /** (Device invitations only) User name the device will be associated with. */ userId?: string; }; export {}; //# sourceMappingURL=create.d.ts.map