import React from 'react';
import type { PanelComponentProps } from '../types';
import type { GitHubRepository } from '../types/github';
/**
 * Add a repository to the recent list
 */
export declare function addRecentRepository(repo: GitHubRepository): void;
/**
 * Owner info structure for addRecentOwner
 */
export interface OwnerInfo {
    id: number;
    login: string;
    avatar_url?: string;
    name?: string;
    bio?: string;
    type: 'User' | 'Organization';
    public_repos?: number;
    followers?: number;
}
/**
 * Add an owner to the recent list
 */
export declare function addRecentOwner(owner: OwnerInfo): void;
/**
 * RecentRepositoriesPanel - A panel for displaying recently visited repositories and owners
 *
 * Features:
 * - Persists visited repos and owners in localStorage
 * - Shows owner avatar, repo name, description
 * - Displays stars, forks, language, and last visited time
 * - Filter by repositories or owners
 * - Click to preview, double-click to open
 * - Remove individual items or clear all history
 */
export declare const RecentRepositoriesPanel: React.FC<PanelComponentProps & {
    onNavigate?: (path: string) => void;
}>;
/**
 * Panel metadata for registration
 */
export declare const RecentRepositoriesPanelMetadata: {
    id: string;
    name: string;
    description: string;
    icon: string;
    version: string;
    slices: never[];
    surfaces: string[];
};
//# sourceMappingURL=RecentRepositoriesPanel.d.ts.map