import type { ResolvedUiContextCaptureClientOptions } from '../options'; export interface SelectionPopoverPayload { elementSignature: string; componentName: string | null; componentStack: string[]; customAttributes: Record; sourceLocation: string | null; } export interface SelectionPopover { containsTarget(target: EventTarget | null): boolean; show(target: Element, payload: SelectionPopoverPayload, clearRequest: boolean): void; getLayoutKey(): string; updatePosition(targetRect: DOMRect): void; hide(): void; } export declare function createSelectionPopover(onCopySuccess?: () => void, onClose?: () => void, options?: ResolvedUiContextCaptureClientOptions['popover'], appearance?: ResolvedUiContextCaptureClientOptions['appearance'], contextPrompt?: string, screenshotOptions?: ResolvedUiContextCaptureClientOptions['screenshot']): SelectionPopover;