//#region src/services/showcase/showcaseVerifyGithub.service.d.ts
interface GithubVerifyResult {
  /** Whether the repo contains at least one intlayer-related package */
  isValid: boolean;
  /** Version of the core `intlayer` package if found */
  intlayerVersion?: string;
  /** All detected intlayer-related packages and their versions */
  packageDetails: Record<string, string>;
}
/**
 * Parses a GitHub-like URL and returns { hostname, owner, repo }.
 * Supports:
 *   - https://github.com/owner/repo
 *   - https://github.example.com/owner/repo   (self-hosted GitHub Enterprise)
 *   - https://github.com/owner/repo.git
 *   - paths with trailing slashes
 */
declare const parseGithubUrl: (url: string) => {
  hostname: string;
  owner: string;
  repo: string;
} | null;
/**
 * Collects all intlayer-related package names + versions found in a parsed package.json.
 */
declare const extractIntlayerPackages: (pkg: Record<string, unknown>) => Record<string, string>;
/**
 * Verifies that a repository uses Intlayer by inspecting all package.json files
 * (root + nested, up to MAX_PACKAGE_JSON_FILES).
 *
 * Returns null if the URL cannot be parsed or the API call fails outright.
 */
declare const verifyGithubRepo: (githubUrl: string) => Promise<GithubVerifyResult | null>;
//#endregion
export { GithubVerifyResult, extractIntlayerPackages, parseGithubUrl, verifyGithubRepo };
//# sourceMappingURL=showcaseVerifyGithub.service.d.ts.map