import { StringifyableRecord } from './type-helper.js'; import type { AlwatrDocumentObject } from './storage.js'; export declare const genderCS: readonly ["male", "female"]; export type Gender = (typeof genderCS)[number]; export interface User extends AlwatrDocumentObject { /** * User global unique id (verifiable) */ id: string; /** * Link pass epoch number, started from 1 and increased by token revoke. */ lpe: number; /** * User token, used for user authorization. * DANGER: This field should not be save in public storage. */ token?: string; /** * User authorization permissions list. */ permissions?: string[] | 'root'; fullName: string; phoneNumber: number; gender: Gender; email?: string; landlinePhone?: string; /** * Country Code. */ country: string; /** * Province Code. */ province?: string; /** * City Code. */ city?: string; /** * User full address. */ address?: string; /** * Postal code */ postalCode?: string; } export interface UserAuth extends StringifyableRecord { id: string; token: string; } //# sourceMappingURL=user.d.ts.map