/** * Render harness — wires defineToolsDock + into a single * component so tests can render the actual DOM. Accepts a thin shape that * lets each test express only the behavior it cares about. */ import { type Component } from 'svelte'; import type { AvailableTool, ToolsDockContext } from '../types.js'; interface ToolProp { id: string; label: string; badge?: number | string | null; icon?: string; iconComponent?: Component; } interface Props { tools: ToolProp[]; fetchAvailability?: (ctx: ToolsDockContext | null) => Promise; initialOpen?: boolean; layout?: 'rail' | 'topbar'; /** Activate this tool on mount via dock.open(id). */ activateOnMount?: string | null; /** Call dock.setContext(...) on mount. */ setContextOnMount?: ToolsDockContext | null; /** Force the dock open after setup (for empty-state assertions). */ forceOpen?: boolean; /** Pass-through `context` prop to . */ context?: ToolsDockContext | null; } declare const RenderHarness: Component; type RenderHarness = ReturnType; export default RenderHarness; //# sourceMappingURL=render-harness.svelte.d.ts.map