import type { GitHubRepo } from '../../../../../../packages/core/src/application/ports/output/services/github-repository-service.interface.js';
import type { GitHubOrganization } from '../../../../../../packages/core/src/application/ports/output/services/github-repository-service.interface.js';
export interface GitHubRepoBrowserProps {
    onSelect: (nameWithOwner: string) => void;
    loading?: boolean;
    /** Override the fetch function for testing/stories */
    fetchRepos?: (input?: {
        search?: string;
        limit?: number;
        owner?: string;
    }) => Promise<{
        repos?: GitHubRepo[];
        error?: string;
    }>;
    /** Override the fetch function for testing/stories */
    fetchOrgs?: () => Promise<{
        orgs?: GitHubOrganization[];
        error?: string;
    }>;
}
export declare function GitHubRepoBrowser({ onSelect, loading: externalLoading, fetchRepos, fetchOrgs, }: GitHubRepoBrowserProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=github-repo-browser.d.ts.map