import type { Snippet } from 'svelte'; /** * A single detail item with label and value */ interface DetailItem { /** The label to display */ label: string; /** The value to display */ value: string; } /** * Props interface for ConfigPanel component */ interface Props { /** Panel title displayed in the header */ title: string; /** Unique identifier to display with copy button */ id?: string; /** Optional description text */ description?: string; /** Array of label-value pairs to display */ details?: DetailItem[]; /** Title for the configuration section */ configTitle?: string; /** Callback function when the panel is closed */ onClose: () => void; /** Optional callback to initiate node swap — when provided, shows swap button */ onSwap?: () => void; /** Slot content for the configuration form */ children?: Snippet; } declare const ConfigPanel: import("svelte").Component; type ConfigPanel = ReturnType; export default ConfigPanel;