import type { AnyStructure } from '../structure'; import type { StructurePopupContext, StructurePopupStats } from './types'; import type { Snippet } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; type $$ComponentProps = Omit, 'children'> & { structure: AnyStructure; place_right?: boolean; width?: number; height?: number; on_close?: () => void; close_on_outside?: boolean; show_drag_handle?: boolean; stats?: StructurePopupStats; top_left?: Snippet<[StructurePopupContext]>; children?: Snippet<[StructurePopupContext]>; popup_div?: HTMLDivElement; }; declare const StructurePopup: import("svelte").Component<$$ComponentProps, {}, "popup_div">; type StructurePopup = ReturnType; export default StructurePopup;