import { type VariantProps } from "class-variance-authority"; import { phoneTextVariants } from "./variants.js"; export * from "./variants.js"; type PhoneDisplayProps = VariantProps & { phone: string; /** * Show a call button (Phone icon → `tel:` link). * Use `true` on detail/view pages. Hidden automatically in print layouts. * Default: `false`. */ showCallButton?: boolean; /** * Country calling code (digits, no `+`) to apply when `phone` is written in * national form — i.e. it has no leading `+`. A single leading trunk `0` is * dropped before the code is prepended. Omit to display `phone` as given. * * @example "1" (North America) · "44" (UK) · "49" (Germany) */ countryCode?: string; /** * Segment lengths for grouping the national part of the number, applied only * when `countryCode` is set. Omit to leave the national digits ungrouped. * * @example [3, 3, 4] renders `+1-415-555-0123` */ groups?: number[]; }; /** * Consistent phone number display with an optional call button. * * By default the number is shown as given. Pass a `countryCode` (and optional * `groups`) to normalize national-form input to E.164 and group it for display * — the component stays country-agnostic, so the consuming app supplies the * conventions its locale uses. The call button is hidden in print layouts. * * @example * * */ export declare function PhoneDisplay({ phone, showCallButton, countryCode, groups, size, tone, }: PhoneDisplayProps): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map