/** * Annotation - Web page annotation toolbar for AI coding agents * * @example Basic usage (auto-registers custom element) * ```js * import 'annotation'; * * // Add to HTML: * // * ``` * * @example Vanilla JS * ```js * import { createAnnotation } from 'annotation'; * * const instance = createAnnotation({ * theme: 'dark', * onAnnotationCreate: (annotation) => console.log('New annotation:', annotation), * }); * * instance.activate(); * ``` * * @example React * ```jsx * import { Annotation } from 'annotation/react'; * * function App() { * return ( * console.log('New annotation:', annotation)} * /> * ); * } * ``` */ export { type AnnotationId, type Position, type ElementRect, type AccessibilityInfo, type ComputedStylesSubset, type NearbyContext, type ElementInfo, type Annotation, type OutputLevel, type ThemeMode, type ToolbarPosition, type ToolMode, type Settings, type SelectionRect, type EnvironmentInfo, type EventMap, type AppState, type AnnotationEventDetail, type AnnotationColor, ANNOTATION_COLORS, type BeforeAnnotationCreateData, type BeforeAnnotationCreateResult, type BeforeAnnotationCreateHook, createAnnotationCore, type AnnotationCore, type AnnotationCoreOptions, createStore, type Store, createEventBus, type EventBus, identifyElement, generateSelectorPath, collectElementInfo, } from './core'; export { AnnotationElement, registerAnnotationElement, } from './element'; export { createAnnotation, init, type AnnotationOptions, type AnnotationInstance, } from './adapters/vanilla'; export { resolveTheme, getAccentColor, } from './themes'; export { initI18n, registerLocale, t, tOutput, en, zhCN, type TranslationStrings, type PartialTranslationStrings, type I18nOptions, } from './core/i18n'; //# sourceMappingURL=index.d.ts.map