import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from '../../../../vue/dist/vue.esm-browser.prod.js'; import { type PrimitiveProps } from '../../../../node_modules/radix-vue'; export interface DismissableLayerProps extends PrimitiveProps { /** * When `true`, hover/focus/click interactions will be disabled on elements outside * the `DismissableLayer`. Users will need to click twice on outside elements to * interact with them: once to close the `DismissableLayer`, and again to trigger the element. */ disableOutsidePointerEvents?: boolean; } export interface DialogContentImplProps extends DismissableLayerProps { /** * Used to force mounting when more control is needed. Useful when * controlling transntion with Vue native transition or other animation libraries. */ forceMount?: boolean; /** * When `true`, focus cannot escape the `Content` via keyboard, * pointer, or a programmatic focus. * @defaultValue false */ trapFocus?: boolean; } export interface DialogContentProps extends DialogContentImplProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with Vue animation libraries. */ forceMount?: boolean; } export type PointerDownOutsideEvent = CustomEvent<{ originalEvent: PointerEvent; }>; export type FocusOutsideEvent = CustomEvent<{ originalEvent: FocusEvent; }>; declare const _default: __VLS_WithTemplateSlots, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { escapeKeyDown: (event: KeyboardEvent) => void; pointerDownOutside: (event: PointerDownOutsideEvent) => void; focusOutside: (event: FocusOutsideEvent) => void; interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void; dismiss: () => void; openAutoFocus: (event: Event) => void; closeAutoFocus: (event: Event) => void; }, string, PublicProps, Readonly>> & { onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined; onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined; onDismiss?: (() => any) | undefined; onOpenAutoFocus?: ((event: Event) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; }, {}, {}>, { default?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };