/** FireStore Database Phone JSON Format. Same as IR8Phone. */ export declare type IR8PhoneFS = IR8Phone; export interface IR8Phone { phoneType?: string; phoneNumber?: string; } export declare function PhoneInitialValue(): Partial; /** Default Validation Phone * Throw Error if fail */ export declare function CheckPhoneIsValid(Obj: Partial | Partial): void; /** Default Validation Phone * return Error message if failure */ export declare function PhoneIsValid(Obj: Partial | Partial): string; /** Serialize IR8Phone to Firestore JSON */ export declare function Phone2JSON(Obj: Partial): IR8PhoneFS; /** Serialize Firestore JSON to IR8Phone. json can be undefined */ export declare function JSON2Phone(json: Partial | undefined, target: IR8Phone): void; /** New Phone from Firestore JSON */ export declare function JSONAsPhone(json?: Partial): IR8Phone;