import type { HTMLAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
type PopoverAlign = 'left' | 'right';
interface Props extends HTMLAttributes {
/** Whether the popover panel is rendered/visible. Bindable. @default false */
open?: boolean;
/** Called when the popover requests dismissal (outside mousedown or Escape). */
onclose?: () => void;
/** Which edge the panel aligns to within its positioned parent. @default 'right' */
align?: PopoverAlign;
/** Panel width — number (px) or any CSS length string. @default 280 */
width?: number | string;
/** Vertical offset of the panel top, relative to the parent. @default '100%' */
top?: number | string;
/** Polymorphic root element of the panel. @default 'div' */
as?: string;
/** Panel contents. */
children?: Snippet;
[key: string]: unknown;
}
declare const Popover: import("svelte").Component;
type Popover = ReturnType;
export default Popover;