import { LitElement } from "lit"; type ButtonVariant = "primary" | "secondary" | "negative" | "negativeQuiet" | "utility" | "quiet" | "utilityQuiet" | "overlay" | "overlayInverted" | "overlayQuiet" | "overlayInvertedQuiet"; /** * Link component to use when creating links that look like buttons. * * [Warp component reference](https://warp-ds.github.io/docs/components/link/frameworks/elements) */ declare class WarpLink extends LitElement { /** @internal */ static shadowRootOptions: { delegatesFocus: boolean; clonable?: boolean; customElementRegistry?: CustomElementRegistry | null; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }; /** * Focus the link after it is rendered */ autofocus: boolean; /** * Visual style for the link/button. * * @throws {Error} Throws an error if an unsupported value is provided. */ variant: ButtonVariant | undefined; /** * Render a smaller version */ small: boolean; /** * The URL the link points to */ href: string | undefined; /** * Applies disabled styling, but you need to disable clicks on your own. * * The component renders an `` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior. */ disabled: boolean; /** * Where to display the linked URL (e.g. `_blank`) */ target: string | undefined; /** * Relationship of the linked URL. * * If `target="_blank"` and `rel` is not provided, the component uses `noopener`. */ rel: string | undefined; /** * Makes the link take up the full width of its parent */ fullWidth: boolean; static styles: import("lit").CSSResult[]; connectedCallback(): void; firstUpdated(): void; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "w-link": WarpLink; } } export { WarpLink };