import { TypeComponent } from '../TypeComponent';
import { Text, TextJSON } from './Text';
export interface HyperLinkJSON extends TextJSON {
    _url: string;
    isExtRef: boolean;
    pageId: string | null;
    widgetId: string | null;
}
export declare class HyperLink extends Text {
    /**
     * Ссылка
     */
    private _url;
    get url(): string | null;
    set url(value: string | null);
    /**
     * true если внешняя ссылка
     */
    isExtRef: boolean;
    /**
     * Id стр. для ссылки
     */
    pageId: string | null;
    /**
     * Id виджета
     */
    widgetId: string | null;
    constructor(type: TypeComponent, id: string);
    /**
     * Получить объект класса HyperLink из json
     * @param json валидная json строка
     * @returns объект класса HyperLink
     */
    static fromJSON(json: string): HyperLink;
    /**
     * Получить объект для сериализации
     * @returns Объект для сериализации
     */
    toJSON(): TextJSON;
}
