import type { AddressElement } from "./Address.cjs";
import type { StandardFormattingElement } from "./formatting/index.cjs";
import { type IconElement } from "./Icon.cjs";
import { type ImageElement } from "./Image.cjs";
import type { SnapsChildren } from "../component.cjs";
/**
 * The children of the {@link Link} component.
 */
export type LinkChildren = SnapsChildren<string | StandardFormattingElement | IconElement | ImageElement | AddressElement>;
/**
 * The props of the {@link Link} component.
 *
 * @property children - The text to display in the link.
 * @property href - The URL to link to. This must be an `https` or `mailto` URL.
 * `http` is not allowed.
 */
export type LinkProps = {
    children: LinkChildren;
    href: string;
};
/**
 * A link component, which is used to display a hyperlink.
 *
 * @param props - The props of the component.
 * @param props.children - The text to display in the link.
 * @param props.href - The URL to link to. This must be an `https` or `mailto`
 * URL. `http` is not allowed.
 * @returns A link element.
 * @example
 * <Link href="https://example.com">Click here</Link>
 */
export declare const Link: import("../component.cjs").SnapComponent<LinkProps, "Link">;
/**
 * A link element.
 *
 * @see Link
 */
export type LinkElement = ReturnType<typeof Link>;
//# sourceMappingURL=Link.d.cts.map