import { ComponentType, HTMLAttributeAnchorTarget, MouseEventHandler, ReactNode } from 'react';
export type TextLinkProps = {
    /**
     * Component content
     */
    children?: ReactNode;
    /**
     * URI to navigate to
     */
    to?: string;
    /**
     * Target frame to open a link in. You'll most likely need `_self` for same tab or `_blank` for new tab
     */
    target?: HTMLAttributeAnchorTarget;
    onClick?: MouseEventHandler<HTMLElement>;
    type?: 'primary' | 'secondary';
    underline?: 'onHover' | 'always' | 'never';
    disabled?: boolean;
    disableTooltip?: boolean;
    /**
     * Component that will be rendered in place of an `<a/>` tag
     */
    component?: ComponentType<Omit<TextLinkProps, 'component' | 'disabled' | 'testId' | 'type' | 'underline' | 'disableTooltip'> & {
        'data-testid'?: string;
    }>;
    className?: string;
    testId?: string;
};
export declare const TextLink: import("react").ForwardRefExoticComponent<TextLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
//# sourceMappingURL=TextLink.d.ts.map