/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; export interface PersonChipProps extends Omit, "onSelect"> { /** The person's name; the accessible name. */ name: string; /** A quieter second label on the same line, part of the accessible name. */ secondary?: string; /** Initials for the circle; derived from `name` when omitted. */ initials?: string; /** Makes the chip a button. */ onSelect?: () => void; className?: string; } /** First letters of the first and last words, up to two. */ export declare function initialsFrom(name: string): string; /** * An initials avatar beside a name, in a pill; a button only when it does something. * * @example * open("maria")} /> */ export declare const PersonChip: import("preact").FunctionalComponent & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=PersonChip.d.ts.map