import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
export interface ConfluenceLinkMetadata {
    anchorName?: string | null;
    container?: ConfluenceLinkMetadata;
    contentId?: string | null;
    contentTitle?: string | null;
    fileName?: string | null;
    isRenamedTitle?: boolean;
    linkType: string;
    spaceKey?: string | null;
    versionAtSave?: string | null;
}
export interface LinkAttributes {
    __confluenceMetadata?: ConfluenceLinkMetadata;
    collection?: string;
    /**
     // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
     * @validatorFn safeUrl
     */
    href: string;
    id?: string;
    occurrenceKey?: string;
    title?: string;
}
/**
 * @name link_mark
 */
export interface LinkDefinition {
    attrs: LinkAttributes;
    type: 'link';
}
export declare const link: MarkSpec;
export { toJSON } from './to-json';
