import { BaseController } from './base.controller.js'; /** * Controller for managing browser history for modals and overlays. * Adds a history entry when opened and handles back button navigation. * * @example * ```ts * class MyModal extends LitElement { * private history = new HistoryController(this); * * open() { * this.history.push({ modal: 'my-modal' }); * this.history.onPopState(() => this.close()); * // show modal * } * * close() { * this.history.pop(); * // hide modal * } * } * ``` */ export declare class HistoryController extends BaseController { private hasAddedEntry; private onPopCallback?; push(state?: object): void; pop(): void; onPopState(callback: () => void): void; private handlePopState; hostConnected(): void; hostDisconnected(): void; } //# sourceMappingURL=history.controller.d.ts.map