import { OntologyNode, OntologyNodeKind } from './types.js'; export interface NodePropertiesDrawerProps { /** Node to edit; `null` closes the drawer. */ nodeId: string | null; /** Resolves a node id to its current ontology entry, or `undefined`. */ getNode(id: string): OntologyNode | undefined; /** Close the drawer without committing pending edits. */ onClose(): void; /** Apply edits to a node. Pass `null` to disable mutation (read-only). */ onUpdate: ((id: string, updates: { type?: OntologyNodeKind; name?: string; description?: string; }) => void) | null; /** Delete a node. Pass `null` to disable. */ onDelete: ((id: string) => void) | null; } export declare function NodePropertiesDrawer({ nodeId, getNode, onClose, onUpdate, onDelete }: NodePropertiesDrawerProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=NodePropertiesDrawer.d.ts.map