import { IButtonOptions, TButtonPayload } from './interfaces';
export declare class Button {
    static readonly B_LINK: boolean;
    static readonly B_BTN: boolean;
    static readonly VK_COLOR_PRIMARY = "primary";
    static readonly VK_COLOR_SECONDARY = "secondary";
    static readonly VK_COLOR_NEGATIVE = "negative";
    static readonly VK_COLOR_POSITIVE = "positive";
    static readonly VK_TYPE_TEXT = "text";
    static readonly VK_TYPE_LINK = "open_link";
    static readonly VK_TYPE_LOCATION = "location";
    static readonly VK_TYPE_PAY = "vkpay";
    static readonly VK_TYPE_APPS = "open_app";
    type: string | null;
    title: string | null;
    url: string | null;
    payload: TButtonPayload;
    hide: boolean;
    options: IButtonOptions;
    constructor(title?: string | null, url?: string | null, payload?: TButtonPayload, hide?: boolean, options?: IButtonOptions);
    private static _getUrlSeparator;
    private _init;
    initLink(title: string | null, url?: string | null, payload?: TButtonPayload, options?: IButtonOptions): boolean;
    initBtn(title: string | null, url?: string | null, payload?: TButtonPayload, options?: IButtonOptions): boolean;
}
