import { CollectionName, ConstructorData, ThemeMode } from '../types'; import { Image } from './Image'; /** * Represents a user's saved address */ export declare class UserAddress { address1: string | null; address2: string | null; city: string | null; email: string | null; firstName: string | null; id: string; lastName: string | null; middleName: string | null; phone: string | null; state: string | null; title: string | null; zip: string | null; constructor(data?: ConstructorData); } /** * Store/merchant configuration for a user */ export declare class UserStore { address1: string | null; address2: string | null; city: string | null; email: string | null; id: string; images: Image[]; info: string | null; phone: string | null; state: string | null; stripeAccountId: string | null; taxAmount: number; taxPercent: number; title: string | null; zip: string | null; constructor(data?: ConstructorData); } /** * Represents a user account (customer, staff, merchant, or admin) * @example * ```typescript * const user = new User({ * email: 'john@example.com', * firstName: 'John', * lastName: 'Doe', * admin: false, * merchant: true, * addresses: [{ title: 'Home', city: 'Portland', state: 'OR' }], * store: { title: 'Downtown Shop', taxPercent: 8.5 } * }) * ``` */ export declare class User { static collection: CollectionName; active: boolean; addresses: UserAddress[]; admin: boolean; createdAt: string; email: string | null; firstName: string | null; id: string; images: Image[]; lastName: string | null; merchant: boolean; middleName: string | null; nonce: string | null; nonceExpiresAt: string | null; password: string | null; store: UserStore | null; themeColor: string; themeMode: ThemeMode; tokens: number; updatedAt: string; constructor(data?: ConstructorData); } //# sourceMappingURL=User.d.ts.map