import type { XySemanticClassNames, XySemanticStyles } from "../core"; import type { XyIconName } from "../icon"; import type { XyTooltipPlacement } from "../tooltip"; type XyTypographyTag = "p" | "span" | "div" | "strong" | "small" | "code" | "kbd" | "mark" | "del" | "h1" | "h2" | "h3" | "h4" | "h5"; type XyTypographyVariant = "body" | "title" | "subtitle" | "secondary" | "caption" | "code"; type XyTypographyType = "default" | "secondary" | "success" | "warning" | "danger"; type XyTypographyActionPlacement = "start" | "end"; type XyTypographyEditTrigger = "icon" | "text"; type XyTypographySemanticDom = "root" | "content" | "actions" | "action" | "textarea"; interface XyTypographySemanticProps { actionPlacement: XyTypographyActionPlacement; as?: XyTypographyTag; code: boolean; copyable: boolean; delete: boolean; disabled: boolean; editable: boolean; editing: boolean; ellipsis: boolean; expanded: boolean; hasActions: boolean; italic: boolean; keyboard: boolean; level?: 1 | 2 | 3 | 4 | 5; mark: boolean; modelValue?: string; strong: boolean; type: XyTypographyType; underline: boolean; variant: XyTypographyVariant; } type XyTypographyActionsConfig = { placement?: XyTypographyActionPlacement; }; type XyTypographyCopyableConfig = { icon?: XyIconName | [XyIconName, XyIconName]; tabIndex?: number; text?: string | (() => string | Promise); tooltips?: false | [string, string]; }; type XyTypographyEditableConfig = { editing?: boolean; maxLength?: number; placeholder?: string; text?: string; tooltip?: false | string; triggerType?: XyTypographyEditTrigger | XyTypographyEditTrigger[]; }; type XyTypographyEllipsisTooltipConfig = { content?: string; maxWidth?: number | string; placement?: XyTooltipPlacement; }; type XyTypographyEllipsisConfig = { defaultExpanded?: boolean; expandable?: boolean | "collapsible"; expanded?: boolean; rows?: number; suffix?: string; symbol?: string | [string, string]; tooltip?: boolean | string | XyTypographyEllipsisTooltipConfig; }; type __VLS_Props = { actions?: XyTypographyActionsConfig; as?: XyTypographyTag; classNames?: XySemanticClassNames; code?: boolean; copyText?: string; copyable?: boolean | XyTypographyCopyableConfig; delete?: boolean; disabled?: boolean; editable?: boolean | XyTypographyEditableConfig; ellipsis?: boolean | XyTypographyEllipsisConfig; italic?: boolean; keyboard?: boolean; level?: 1 | 2 | 3 | 4 | 5; mark?: boolean; modelValue?: string; strong?: boolean; styles?: XySemanticStyles; type?: XyTypographyType; underline?: boolean; variant?: XyTypographyVariant; }; declare var __VLS_19: {}, __VLS_21: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_19) => any; } & { default?: (props: typeof __VLS_21) => any; }; declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { copy: (text: string) => any; "update:modelValue": (text: string) => any; expand: (expanded: boolean) => any; "edit-cancel": () => any; "edit-change": (text: string) => any; "edit-end": (text: string) => any; "edit-start": () => any; "update:editing": (editing: boolean) => any; "update:expanded": (expanded: boolean) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onCopy?: ((text: string) => any) | undefined; "onUpdate:modelValue"?: ((text: string) => any) | undefined; onExpand?: ((expanded: boolean) => any) | undefined; "onEdit-cancel"?: (() => any) | undefined; "onEdit-change"?: ((text: string) => any) | undefined; "onEdit-end"?: ((text: string) => any) | undefined; "onEdit-start"?: (() => any) | undefined; "onUpdate:editing"?: ((editing: boolean) => any) | undefined; "onUpdate:expanded"?: ((expanded: boolean) => any) | undefined; }>, { type: XyTypographyType; ellipsis: boolean | XyTypographyEllipsisConfig; disabled: boolean; variant: XyTypographyVariant; copyText: string; copyable: boolean | XyTypographyCopyableConfig; editable: boolean | XyTypographyEditableConfig; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };