@eristack/person
Version:
Structured person name and gender identity — normalize and display, not HRIS
8 lines • 599 B
TypeScript
import type { GenderIdentity, Person, PersonFormatOptions, PersonName } from "./types.js";
export declare function normalizePersonName(input: PersonName): PersonName;
export declare function isGenderIdentity(value: string): value is GenderIdentity;
export declare function normalizeGenderIdentity(value: string): GenderIdentity;
export declare function normalizePerson(input: Person): Person;
export declare function formatPersonDisplay(person: Person, options?: PersonFormatOptions): string;
export declare function formatPersonSortable(person: Person): string;
//# sourceMappingURL=person.d.ts.map