/**
 * GitHub Activity Card — unified visual for commits, PRs, and PR reviews.
 *
 * PURE PRESENTATION (no internal nav, no internal data fetching). The card
 * receives the structured `<a>` prop bundle via `anchorProps` (composed by
 * the caller from a runtime hook) and renders the rest from the
 * `GitHubActivityItem` shape directly.
 *
 * Two consumers share this component:
 *   1. Activity-list row (employee detail / similar) — pass `variant="row"`.
 *   2. Chat-inline `[card://github_commit:<sha>]` markers — `variant="compact"`.
 *
 * Unified data shape `GitHubActivityItem` covers all three GitHub types
 * (commit / PR / review).
 */
import React from 'react';
import type { GitHubActivityItem, GitHubActivityKind, PrReviewState } from '../types/entities/github-activity';
export declare function kindLabel(kind: GitHubActivityKind): string;
export declare function formatActivityId(id: string, kind: GitHubActivityKind): string;
export declare function parseGithubTitle(title: string, kind: GitHubActivityKind): {
    display: string;
    reviewState: PrReviewState | null;
};
/** Short review-state label ("APPROVED" → "Approved") shared with the
 *  MingoInfoCard dispatch mapping so both surfaces read identically. */
export declare function reviewStateLabel(state: PrReviewState): string;
export interface GitHubActivityCardAnchorProps {
    href: string;
    target?: '_blank';
    rel?: 'noopener noreferrer';
    onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
}
export interface GitHubActivityCardProps {
    item: GitHubActivityItem;
    variant?: 'row' | 'compact';
    className?: string;
    /** Pre-composed `<a>` prop bundle (typically from a `useNavLink` hook in
     *  the consumer). When provided, the outer renders as a real `<a>`. */
    anchorProps?: GitHubActivityCardAnchorProps;
}
export declare function GitHubActivityCard({ item, variant, className, anchorProps }: GitHubActivityCardProps): React.JSX.Element;
export declare function GitHubActivityCardSkeleton({ variant, className }: {
    variant?: 'row' | 'compact';
    className?: string;
}): React.JSX.Element;
//# sourceMappingURL=github-activity-card.d.ts.map