export interface PresentOptions { /** Safety margin from viewport edges (default: '2rem') */ inset?: string; /** Show close X button in top-right corner (default: true) */ closeButton?: boolean; } /** * Shows content in a full-viewport dialog overlay with an optional close button. * * Wraps the host element in a modal `` at its current DOM position. * `showModal()` promotes to the top layer for rendering, so the dialog stays * in the original DOM context — CSS custom properties inherit normally. * On dismiss the host is unwrapped back to its original position. * * Events: * - `native:present` — dispatched after dialog opens * - `native:dismiss` — dispatched after dialog closes and host is restored */ export declare class PresentController { #private; readonly host: HTMLElement; constructor(host: HTMLElement, options?: PresentOptions); get open(): boolean; present(): void; toggle(): void; dismiss(): void; destroy(): void; } //# sourceMappingURL=present-controller.d.ts.map