/** * IssuePicker - GitHub issue selection dropdown * * Displays a bordered list of GitHub issues for the user to navigate * and select from. Follows the visual style of CommandDropdown. * Supports arrow keys and j/k for navigation, Enter to select, Esc to cancel. */ import React from 'react'; import type { GitHubIssueListItem } from '../../utils/github.js'; /** * Props for the IssuePicker component */ export interface IssuePickerProps { /** List of issues to display */ issues: GitHubIssueListItem[]; /** Repository slug (e.g. "owner/repo") shown in header */ repoSlug: string; /** Called when an issue is selected */ onSelect: (issue: GitHubIssueListItem) => void; /** Called when the picker is dismissed (Escape) */ onCancel: () => void; /** Whether issues are currently loading */ isLoading: boolean; /** Optional error message to display */ error?: string; } export declare function IssuePicker({ issues, repoSlug, onSelect, onCancel, isLoading, error, }: IssuePickerProps): React.ReactElement;