import type { BaseProps, BaseConfig } from '@studiometa/js-toolkit'; import { Modal } from '../Modal/index.js'; export interface PanelProps extends BaseProps { $options: { position: 'top' | 'right' | 'bottom' | 'left'; }; } /** * Panel class. * @link https://ui.studiometa.dev/components/Panel/ */ export declare class Panel extends Modal { /** * Config. */ static config: BaseConfig; static translateClasses: { top: string; right: string; bottom: string; left: string; }; isClosing: boolean; /** * Get the translation class. * @returns {string} */ get translateClass(): string; get containerOffset(): string; /** * Animate before opening. * @this {PanelInterface} * @returns {Promise} */ open(): Promise; /** * Animate before closing. * @this {PanelInterface} * @returns {Promise} */ close(): Promise; }