import { AutoEncoder } from '@simonbackx/simple-encoding'; import { Address } from '../addresses/Address.js'; import { NationalRegisterNumberOptOut } from './NationalRegisterNumberOptOut.js'; import { ParentType } from './ParentType.js'; export declare class Parent extends AutoEncoder { id: string; type: ParentType; firstName: string; lastName: string; nationalRegisterNumber: string | typeof NationalRegisterNumberOptOut | null; phone: string | null; email: string | null; alternativeEmails: string[]; address: Address | null; createdAt: Date; /** * Stores the timestamp the parent was last edited in the UI (not the same as edited in the database - this is used to find the most correct data in case of duplicates) */ updatedAt: Date | null; get name(): string; getDiffName(): string; getEmails(): string[]; hasEmail(email: string): boolean; /** * Call this to clean up capitals in all the available data */ cleanData(): void; isEqual(other: Parent): boolean; /** * Merge, giving other priority over this */ merge(other: Parent): void; } //# sourceMappingURL=Parent.d.ts.map