import { EventEmitter } from "../../stencil-public-runtime"; import { StzhLinkBlurEvent, StzhLinkClickEvent, StzhLinkFocusEvent, StzhLinkSize } from "../../index"; import { StzhLinkLocalizedText } from "./stzh-link.localization"; /** * @slot icon - Slot for icon element * @slot - Slot for label/text content * @slot badge - Slot for `stzh-badge` element */ export declare class StzhLink { /** Translation strings */ localization: StzhLinkLocalizedText; /** Icon (use instead of icon slot) */ icon: string; /** Icon Position */ iconPosition: "left" | "right"; /** Variant style */ variant: "default" | "secondary" | "back" | "app-nav"; /** Height variant (none prevent setting min-height for mikro and small breakpoint) */ height: "default" | "auto"; /** Size variant */ size: StzhLinkSize; /** Size variant (above small breakpoint) */ sizeSmall: StzhLinkSize; /** Size variant (above medium breakpoint) */ sizeMedium: StzhLinkSize; /** Size variant (above large breakpoint) */ sizeLarge: StzhLinkSize; /** Size variant (above ultra breakpoint) */ sizeUltra: StzhLinkSize; /** href attribute of the link */ href: string; /** Rel (if href is used) */ rel: string; /** target if the button is used as link (if href used) */ target: string; /** Download attribute of link (if `href` used) */ download: string; /** type of the button, if used as button (if no href used) */ type: "button" | "submit" | "reset"; /** Whether the link is full width */ fullwidth: boolean; /** Text alignment */ textAlign: "left" | "center" | "right" | "space-between" | "default"; /** Badge position */ badgePosition: "icon" | "link"; /** Disabled status */ disabled: boolean; /** Active status */ active: boolean; /** Whether only an icon is used inside the link */ iconOnly: boolean; /** Label */ label: string; /** Access key of link (usually a number e.g. 1) */ linkAccesskey: string; /** ID of link element */ linkId: string; /** Accessible label for screen readers to replace visible text */ a11yLabel: string; /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */ a11yDescribedby: string; /** Aria expanded of link/button */ a11yExpanded: boolean; /** Aria disabled of link/button */ a11yDisabled: boolean; /** Aria controls of link/button */ a11yControls: string; /** Tabindex of link/button */ a11yTabindex: string; /** Aria current of link/button */ a11yCurrent: string; /** * For Adobe Analytics. * Will be rendered as value of `s-object-id` attribute to the link/button element. * Default value will be taken from `label` prop or default slot. */ analyticsId: string; element: HTMLStzhLinkElement; /** Click event */ stzhClick: EventEmitter; /** Focus event */ stzhFocus: EventEmitter; /** Input blur event */ stzhBlur: EventEmitter; private link; private text; private focusedByInput; componentWillLoad(): Promise; private onRootFocus; private onFocus; private onBlur; private onClick; private addWordBreakToLinks; private renderIcon; private renderContent; private renderInner; componentDidLoad(): Promise; componentDidRender(): void; render(): any; }