import { ComponentProps } from "react"; export interface FetchRepositoryInfoOptions { owner: string; repo: string; baseUrl?: string; token?: string; fetchOptions?: RequestInit; } export interface RepositoryInfo { stars: number; forks: number; } export interface GithubInfoProps extends ComponentProps<'a'>, FetchRepositoryInfoOptions { locale?: Intl.LocalesArgument; } export declare function fetchRepositoryInfo({ owner, repo, token, baseUrl, fetchOptions }: FetchRepositoryInfoOptions): Promise; export declare function GithubInfo({ repo, owner, token, baseUrl, fetchOptions, locale, ...props }: GithubInfoProps): import("react").JSX.Element;