/** A link data container */
export type DocsLinkRef = {
    /** Ref type */
    type: DocsLinkRefType;
    /** Referenced page */
    documentationItemId?: string;
    /** Referenced page block - heading */
    pageHeadingId?: string;
    /** Referenced URL */
    url?: string;
    /** Open in other tab */
    openInNewTab?: boolean;
};
export declare enum DocsLinkRefType {
    documentationItem = "DocumentationItem",
    pageHeading = "PageHeading",
    url = "Url"
}
export declare function docsLinkToUrl(link: DocsLinkRef): string | undefined;
export declare function docsLinkToLinkAttributes(link: DocsLinkRef): {
    href: string;
    target: string;
} | undefined;
export declare function linkAttributeToDocsLink(href: string | null | undefined, target: string | null | undefined): DocsLinkRef | undefined;
