import { BaseResource } from "../../common";
import { APIWalkthroughStep, WalkthroughPage } from "./interfaces";
export declare class WalkthroughStep extends BaseResource {
    order: number;
    elementId: string;
    title: string;
    text: string;
    constructor(order: number, elementId: string, title: string, text: string);
    /**
     * The name of the walkthrough resource on the API server.
     */
    static get resourceName(): string;
    /**
     * The name of the service containing the walkthrough resource.
     */
    static get serviceName(): string;
    /**
     * Create a walkthrough step from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The walkthrough step object.
     */
    static apiFactory(data: APIWalkthroughStep): WalkthroughStep;
    /**
     * Create a walkthrough-response from the API server data.
     *
     * @param data Data from the api server.
     *
     * @returns The walkthrough-response object.
     */
    static walkthroughResponseApiFactory(data: APIWalkthroughStep[]): WalkthroughStep[];
    /**
     * Obtains list of walkthrough steps for the specified page.
     *
     * @param pageName Page name.
     * @param isProfessional Whether to load texts for professional users.
     */
    static get(pageName: WalkthroughPage, isProfessional?: boolean): Promise<WalkthroughStep[]>;
}
