export class ViewStack extends View<HTMLElement> {
    /**
     *
     * @constructor
     * @class
     * @extends {View}
     */
    constructor();
    el: Element;
    __stack: any[];
    /**
     *
     * @type {StackFrame | null}
     * @private
     */
    private __activeFrame;
    /**
     * @private
     */
    private updateActiveFrameSize;
    /**
     * @private
     * @param {int} index
     */
    private setActiveFrame;
    /**
     *
     * @param {View} view
     * @param {string} [name]
     */
    push(view: View, name?: string): void;
    /**
     * Works in the same way as "pop", keeps reducing stack size until it's size is equal to supplied size.
     * @param {number} size desired stack size
     * @returns {StackFrame[]} dropped frames
     */
    unwind(size: number): StackFrame[];
    /**
     * Pops view from the stack
     * @returns {StackFrame|undefined}
     */
    pop(): StackFrame | undefined;
}
import View from "../../View.js";
declare class StackFrame {
    /**
     *
     * @param {View} view
     * @param {string} name
     * @constructor
     */
    constructor(view: View, name: string);
    /**
     *
     * @type {View}
     */
    view: View;
    /**
     *
     * @type {string}
     */
    name: string;
}
export {};
//# sourceMappingURL=ViewStack.d.ts.map