Props for the MatchingPageHeader component.

interface MatchingPageHeaderProps {
headerVariants: Variants;
matchResultsLength: number;
isRematchOptionsVisible: boolean;
setIsRematchOptionsVisible: (isVisible: boolean) => void;
isMatchingProcessLoading: boolean;
isRateLimited: boolean;
statusSummary: {
total: number;
matched: number;
manual: number;
pending: number;
skipped: number;
reviewed: number;
completionPercent: number;
};
pendingBacklog: number;
handleUndo?: () => void;
handleRedo?: () => void;
canUndo?: boolean;
canRedo?: boolean;
matchResults: MangaMatchResult[];
onImportComplete?: (result: {
imported: number;
merged: number;
skipped: number;
}) => void;
onRecalculateConfidence?: () => void;
isConfidenceRecalcRunning?: boolean;
}
interface MatchingPageHeaderProps {
    headerVariants: Variants;
    matchResultsLength: number;
    isRematchOptionsVisible: boolean;
    setIsRematchOptionsVisible: (isVisible: boolean) => void;
    isMatchingProcessLoading: boolean;
    isRateLimited: boolean;
    statusSummary: {
        total: number;
        matched: number;
        manual: number;
        pending: number;
        skipped: number;
        reviewed: number;
        completionPercent: number;
    };
    pendingBacklog: number;
    handleUndo?: () => void;
    handleRedo?: () => void;
    canUndo?: boolean;
    canRedo?: boolean;
    matchResults: MangaMatchResult[];
    onImportComplete?: (
        result: { imported: number; merged: number; skipped: number },
    ) => void;
    onRecalculateConfidence?: () => void;
    isConfidenceRecalcRunning?: boolean;
}

Properties

headerVariants: Variants

Framer Motion animation variants.

matchResultsLength: number

Total number of matches to process.

isRematchOptionsVisible: boolean

Whether to display rematch options panel.

setIsRematchOptionsVisible: (isVisible: boolean) => void

Callback to toggle rematch options visibility.

isMatchingProcessLoading: boolean

Whether the matching process is running.

isRateLimited: boolean

Whether AniList rate limit is active.

statusSummary: {
    total: number;
    matched: number;
    manual: number;
    pending: number;
    skipped: number;
    reviewed: number;
    completionPercent: number;
}

Statistics summary with match counts and completion percent.

pendingBacklog: number

Number of pending items in the queue.

handleUndo?: () => void

Callback for undo action.

handleRedo?: () => void

Callback for redo action.

canUndo?: boolean

Whether undo is available.

canRedo?: boolean

Whether redo is available.

matchResults: MangaMatchResult[]

Array of match results for export.

onImportComplete?: (
    result: { imported: number; merged: number; skipped: number },
) => void

Callback after successful import with statistics.

onRecalculateConfidence?: () => void
isConfidenceRecalcRunning?: boolean