import { type EventHandler, type KeyboardEvent, type MouseEvent } from 'react'; import type { CardProviderRenderers } from '@atlaskit/link-provider/types'; import type { CardState } from '@atlaskit/linking-common/store'; import type { InternalCardActionOptions as CardActionOptions, OnResolveCallback } from '../Card/types'; import { type HoverPreviewOptions } from '../HoverCard/types'; import { type InlinePreloaderStyle, type OnErrorCallback } from '../types'; export type InlineCardProps = { actionOptions?: CardActionOptions; cardState: CardState; handleAuthorize: (() => void) | undefined; /** Optional middle-click handler. */ handleFrameAuxClick?: EventHandler; handleFrameClick: EventHandler; /** Optional right-click handler. */ handleFrameContextMenu?: EventHandler; hideIconLoadingSkeleton?: boolean; hoverPreviewOptions?: HoverPreviewOptions; id: string; inlinePreloaderStyle?: InlinePreloaderStyle; isHovered?: boolean; isSelected?: boolean; onError?: OnErrorCallback; onResolve?: OnResolveCallback; removeTextHighlightingFromTitle?: boolean; renderers?: CardProviderRenderers; resolvingPlaceholder?: string; showHoverPreview?: boolean; testId?: string; truncateInline?: boolean; url: string; };