import * as react from 'react'; import { PropsWithChildren } from 'react'; import { P as PopmeltOptions, C as CommentMeta } from './participantBootstrap-BQHbHI4r.mjs'; export { a as CommentMetaContext, b as CommentMetaValue, G as GetCommentMeta, c as PopmeltExtension, d as PopmeltExtensionRuntime, i as isPopmeltPreview } from './participantBootstrap-BQHbHI4r.mjs'; import { I as ImageSubjectAdapterOptions, V as VideoSubjectAdapterOptions } from './video-adapter-Gm5gmoiz.mjs'; import { P as PopmeltSubjectAdapter, A as Annotation, E as ElementInfo, a as AnnotationAttachment, S as SubjectFeedbackAttachment, b as StyleModification, T as TextModification, D as DomModification, c as SpacingTokenChange } from './subjects-BM3Smdow.mjs'; export { d as AnnotationType, B as BridgeStatus, C as ClaudeResponse, I as ImageObjectContext, O as OpaqueTargetReference, e as Point, f as PopmeltSubject, g as PopmeltSubjectBounds, h as PopmeltSubjectCreationSession, i as PopmeltSubjectOutlinePoint, j as PopmeltSubjectTrackingAnchor, k as PopmeltSurfaceSnapshot, R as ReactSourceLocation, l as StyleChange, m as ToolType, V as VideoObjectContext } from './subjects-BM3Smdow.mjs'; /** Client-side envelope used for persisted and streaming bridge events. */ type BridgeEvent = { type: string; data: Record; timestamp: number; }; type PopmeltContextValue = { isEnabled: boolean; registerSubjectAdapter(adapter: PopmeltSubjectAdapter): () => void; }; declare function usePopmelt(): PopmeltContextValue; declare global { interface Window { __POPMELT_BRIDGE_URL__?: string; __POPMELT_PROJECT_ID__?: string; } } type PopmeltProviderProps = PropsWithChildren; declare function PopmeltProvider({ children, enabled, multiplayer, ...props }: PopmeltProviderProps): react.JSX.Element; type ImageAnnotationOptions = Omit; type VideoAnnotationOptions = Omit; type AnnotationData = { id: string; type: string; instruction?: string; linkedSelector?: string; target?: Annotation['target']; pathname?: string; elements: ElementInfo[]; imageCount?: number; attachments?: AnnotationAttachment[]; subjectFeedback?: SubjectFeedbackAttachment; interactionEpisode?: Annotation['interactionEpisode']; }; type FeedbackData = { timestamp: string; url: string; viewport: { width: number; height: number; }; scrollPosition: { x: number; y: number; }; annotations: AnnotationData[]; styleModifications: StyleModification[]; textModifications?: TextModification[]; domModifications?: DomModification[]; inspectedElement?: ElementInfo; spacingTokenChanges?: SpacingTokenChange[]; meta?: CommentMeta; }; export { Annotation, type BridgeEvent, CommentMeta, ElementInfo, type FeedbackData, type ImageAnnotationOptions, PopmeltProvider, type PopmeltProviderProps, PopmeltSubjectAdapter, StyleModification, type VideoAnnotationOptions, usePopmelt };