import Component from "@glimmer/component"; import type { TOC } from "@ember/component/template-only"; import type { ModifierLike, WithBoundArgs } from "@glint/template"; declare const DrawerElement: TOC<{ Element: HTMLDialogElement; Args: { /** * @internal */ open: boolean | undefined; /** * @internal */ onClose: () => void; /** * @internal */ register: ModifierLike<{ Element: HTMLDialogElement; }>; }; Blocks: { default: []; }; }>; export interface Signature { Args: { /** * Optionally set the open state of the drawer * The state will still be managed internally, * so this does not need to be a maintained value, but whenever it changes, * the drawer element will reflect that change accordingly. */ open?: boolean; /** * When the drawer is closed, this function will be called * and the drawer's `returnValue` will be passed. * * This can be used to determine which button was clicked to close the drawer * * Note though that this value is only populated when using * `