import { Timestamp } from './common'; import { StudentId } from './student'; import { SchoolId } from './school'; import { ClientId } from './client'; import { FamilyId } from './family'; import { UserId, Role, UserType } from './user'; export declare type InviteCode = string; export declare type QrCode = string; export declare type InviteType = Role; export interface Invite { active: boolean; cid: ClientId; expiresAt: Timestamp; fid?: FamilyId; id: InviteCode; qrCode: QrCode; role: Role; sid: SchoolId; studentId?: StudentId; type: UserType; dbUrl?: string; } export interface InviteV2 { active: boolean; cid: ClientId; createdAt: Timestamp; createdBy: UserId; expiresAt: Timestamp; family: FamilyId; id: InviteCode; qrCode: QrCode; role: Role; school: SchoolId; student: StudentId; usedCount: number; userType: Role; dbUrl?: string; }