/**
 *
 *  Copyright (c) "Neo4j"
 *  Neo4j Sweden AB [http://neo4j.com]
 *
 *  This file is part of Neo4j.
 *
 *  Neo4j is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

import type React from 'react';
import { type PolymorphicCommonProps } from '../_common/types';
/** @deprecated Use `type="internal"` instead. */
type InternalUnderlineTextLinkType = 'internal-underline';
/** @deprecated Use `type="external"` instead. */
type ExternalUnderlineTextLinkType = 'external-underline';
/** @deprecated Use `type="internal"` instead and append with a chevron icon. */
type InternalIconTextLinkType = 'internal-icon';
type TextLinkType = 'internal' | InternalUnderlineTextLinkType | InternalIconTextLinkType | 'external' | ExternalUnderlineTextLinkType;
type TextLinkProps = {
    /** The content displayed inside the link */
    children: React.ReactNode;
    /** The URL the link points to */
    href?: string;
    /**
     * The type of the text link
     * All types render with an underline and primary text color by default. Additional color styling can be applied via `className`.
     * - 'internal': A link to another page within the application
     * - 'internal-underline': Deprecated alias of 'internal'
     * - 'internal-icon': Deprecated variant with a trailing chevron icon
     * - 'external': A link to an external website. An external link icon is appended.
     * - 'external-underline': Deprecated alias of 'external'
     * @default 'internal'
     */
    type?: TextLinkType;
    /** Specifies where to open the linked document. If omitted and `type` is `"external"` it defaults to `"_blank"`. */
    target?: HTMLAnchorElement['target'];
    /** Additional class name */
    className?: string;
};
export declare const TextLink: <T extends React.ElementType = "a">({ children, href, type, as, className, target, style, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps<T, TextLinkProps>) => import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=TextLink.d.ts.map