import React from 'react'; import type { CSSObject } from 'restyle'; import type { SourceTextHydrationMetadata } from '../../analysis/query/source-text-metadata.ts'; import type { TokenDiagnostic } from '../../utils/get-tokens.ts'; import type { TokenizedLines } from '../../utils/get-tokens.ts'; import type { AnalysisServerRuntime } from '../../analysis/runtime-env.ts'; import type { Languages as GrammarLanguage } from '../../grammars/index.ts'; import type { ConfigurationOptions } from '../Config/types.ts'; import type { QuickInfoTheme } from './QuickInfoContent.tsx'; export interface QuickInfoRequest { cacheKey: string; filePath: string; position: number; sourceMetadata?: SourceTextHydrationMetadata; } export interface QuickInfoEntry { id: string; quickInfo?: { displayText: string; documentationText: string; }; displayTokens?: TokenizedLines; request?: QuickInfoRequest; diagnostics?: TokenDiagnostic[]; } export interface QuickInfoPopoverProps { diagnostics?: TokenDiagnostic[]; quickInfo?: { displayText: string; documentationText: string; }; displayTokens?: TokenizedLines; theme: QuickInfoTheme; isLoading?: boolean; css?: CSSObject; className?: string; style?: React.CSSProperties; tokenThemeConfig?: ConfigurationOptions['theme']; tokenRuntime?: AnalysisServerRuntime; tokenLanguages?: GrammarLanguage[]; } export declare function DefaultQuickInfoPopover({ diagnostics, quickInfo, displayTokens, theme, isLoading, css, className, style, tokenThemeConfig, tokenRuntime, tokenLanguages, }: QuickInfoPopoverProps): React.JSX.Element;