import type { Snippet } from 'svelte';
import type { ClassValue } from 'svelte/elements';
import * as floatingPanel from '@zag-js/floating-panel';
interface Props {
    title?: string;
    defaultSize?: {
        width: number;
        height: number;
    };
    defaultPosition?: {
        x: number;
        y: number;
    };
    exitable?: boolean;
    resizable?: boolean;
    persistRect?: boolean;
    isOpen?: boolean;
    bodyClass?: ClassValue;
    onPositionChange?: (details: floatingPanel.PositionChangeDetails) => void;
    onSizeChange?: (details: floatingPanel.SizeChangeDetails) => void;
    children: Snippet;
}
declare const FloatingPanel: import("svelte").Component<Props, {}, "isOpen">;
type FloatingPanel = ReturnType<typeof FloatingPanel>;
export default FloatingPanel;
