interface CloseDetails { reason: string; event: Event; cancel: () => void; } /** The `onOpenChange` of a modal or drawer that the host opens and closes: * Escape and a press outside close it unless it's not `dismissible`, and a * press on a toast never does, since the toast sits above the backdrop. * * An Escape whose default a layer inside already prevented is that layer's, * such as a picker of the host's own or an editor's suggestions: it closes * them, and the next Escape closes the dialog. */ export declare function closeHandler(dismissible: boolean, onClose: () => void): (next: boolean, details: CloseDetails) => void; /** The row of a dialog's actions along its bottom edge, ruled off from its body. */ export declare const dialogFooterClassName = "flex shrink-0 items-center justify-end gap-2 border-t border-(--theme-border) px-4 py-3"; export {};