import React from 'react'; import { FlintCommandDialog as FlintCommandDialogElement } from '@getufy/flint-ui/command/flint-command'; export interface FlintCommandDialogCloseDetail { open: false; } /** * Modal dialog wrapper for a command menu. Opens with a smooth backdrop + scale animation. Pressing `Escape` or clicking the backdrop fires `flint-command-dialog-close`. * * @slot (default) - Place a `flint-command` element here. */ export interface FlintCommandDialogProps extends React.HTMLAttributes { /** Controls the open/closed state of the dialog. */ open?: boolean; /** * Fired when the dialog should close. detail: `{ open: false }` The host is responsible for setting `open = false` in response. * DOM event: `flint-command-dialog-close` */ onFlintCommandDialogClose?: (event: CustomEvent) => void; } export declare const FlintCommandDialog: React.ForwardRefExoticComponent>;