import { DocumentReference, Timestamp } from "firebase/firestore"; import { AddressType, EmailContact, IdentityType, PhoneContact } from "./types"; import { Base, BaseConstructorPayload } from "./Base"; export type OwnerConstructorPayload = { assigned: boolean; creatorId: string; createdBy: string; createdAt: Timestamp; email: EmailContact; name: string; firstName: string; lastName: string; middleName: string; phone: PhoneContact; groupId: string; type: string; oid: string; ref: DocumentReference; dateOfBirth: Timestamp | undefined; identityType: IdentityType; identityNumber: string | undefined; workAt: string | undefined; workAtAbbr: string | undefined; workTitle: string | undefined; workAddress: AddressType | undefined; workEmail: EmailContact | undefined; workPhone: PhoneContact[] | undefined; secondaryAddress: AddressType | undefined; } & BaseConstructorPayload; export declare class Owner extends Base { private _oid; private _assigned; private _email; private _name; private _phone; private _type; private _firstName; private _lastName; private _middleName; private _identityType; private _identityNumber; private _workAt; private _workAtAbbr; private _workTitle; private _workAddress; private _workEmail; private _workPhone; private _secondaryAddress; private _dateOfBirth; constructor(payload: OwnerConstructorPayload); get assigned(): boolean; get email(): EmailContact | undefined; get name(): string | undefined; get phone(): PhoneContact | undefined; get dateOfBirth(): Timestamp | undefined; get type(): string; get oid(): string; get firstName(): string | undefined; get lastName(): string | undefined; get middleName(): string | undefined; get identityType(): IdentityType; get identityNumber(): string | undefined; get workAt(): string | undefined; get workAtAbbr(): string | undefined; get workTitle(): string | undefined; get workAddress(): AddressType | undefined; get workEmail(): EmailContact | undefined; get workPhone(): PhoneContact[] | undefined; get secondaryAddress(): AddressType | undefined; toObject(): { assigned: boolean; email: EmailContact | undefined; name: string | undefined; firstName: string | undefined; lastName: string | undefined; midlleName: string | undefined; phone: PhoneContact | undefined; type: string; oid: string; identityType: IdentityType; identityNumber: string | undefined; workAt: string | undefined; workAtAbbr: string | undefined; workTitle: string | undefined; workAddress: AddressType | undefined; workEmail: EmailContact | undefined; workPhone: PhoneContact[] | undefined; secondaryAddress: AddressType | undefined; dateOfBirth: Timestamp | undefined; id: string; createdBy: string; createdAt: Timestamp; groupId: string; creatorId: string; }; } //# sourceMappingURL=Owner.d.ts.map