import { Annotation, AnnotationId, OutputLevel, ThemeMode, BeforeAnnotationCreateHook, BeforeAnnotationCreateData, BeforeAnnotationCreateResult } from '../../core/types'; /** Props for the AgentUIAnnotation Svelte component */ export interface AgentUIAnnotationProps { /** Theme mode */ theme?: ThemeMode; /** Output detail level */ outputLevel?: OutputLevel; /** Annotation marker color */ annotationColor?: string; /** Whether the tool is disabled */ disabled?: boolean; /** Hook called before creating an annotation - can add context, modify comment, or cancel */ onBeforeAnnotationCreate?: BeforeAnnotationCreateHook; /** Callback when annotation is created */ onAnnotationCreate?: (annotation: Annotation) => void; /** Callback when annotation is updated */ onAnnotationUpdate?: (annotation: Annotation) => void; /** Callback when annotation is deleted */ onAnnotationDelete?: (id: AnnotationId) => void; /** Callback when all annotations are cleared */ onAnnotationsClear?: (annotations: Annotation[]) => void; /** Callback when output is copied */ onCopy?: (content: string, level: OutputLevel) => void; } export type { BeforeAnnotationCreateHook, BeforeAnnotationCreateData, BeforeAnnotationCreateResult }; /** Methods exposed via component instance */ export interface AgentUIAnnotationExpose { activate: () => void; deactivate: () => void; toggle: () => void; copyOutput: (level?: OutputLevel) => Promise; getOutput: (level?: OutputLevel) => string; clearAll: () => void; } //# sourceMappingURL=types.d.ts.map