import { SvelteComponent, Snippet } from 'svelte'; import { HTMLAttributes } from 'svelte/elements'; import { Popup } from 'framework7/types'; interface Props { tabletFullscreen?: boolean; opened?: boolean; animate?: boolean; backdrop?: boolean; backdropEl?: string | object; closeByBackdropClick?: boolean; closeOnEscape?: boolean; swipeToClose?: boolean | string; swipeHandler?: string | object; push?: boolean; containerEl?: string | object; color?: string; colorTheme?: string; textColor?: string; bgColor?: string; borderColor?: string; rippleColor?: string; dark?: boolean; onPopupSwipeStart?: (instance?: Popup.Popup) => void; onPopupSwipeMove?: (instance?: Popup.Popup) => void; onPopupSwipeEnd?: (instance?: Popup.Popup) => void; onPopupSwipeClose?: (instance?: Popup.Popup) => void; onPopupOpen?: (instance?: Popup.Popup) => void; onPopupOpened?: (instance?: Popup.Popup) => void; onPopupClose?: (instance?: Popup.Popup) => void; onPopupClosed?: (instance?: Popup.Popup) => void; children?: Snippet; onpopupswipestart?: () => void; onpopupswipemove?: () => void; onpopupswipeend?: () => void; onpopupswipeclose?: () => void; onpopupopen?: () => void; onpopupopened?: () => void; onpopupclose?: () => void; onpopupclosed?: () => void; } interface PopupProps {} interface PopupProps extends Props {} interface PopupProps extends HTMLAttributes {} interface PopupEvents extends Record<'',{}>{} declare class Popup extends SvelteComponent< PopupProps, PopupEvents, { } > {} export { PopupProps }; export default Popup;