/** * Parse a GitHub repo URL into its owner and repo components. * Returns nulls if the URL doesn't match github.com/{owner}/{repo}. * * Used in: * - ItemCard avatar fallback (owner avatar via GitHub avatars * API; component name retained for V1 published API stability) * - App detail page (showing owner + repo name in breadcrumb / header) * - Anywhere we need to display "@owner / repo" or link to the owner */ export declare function getOwnerAndRepoFromRepoUrl(repoUrl: string): { owner: string | null; repo: string | null; }; /** * Build a GitHub avatar URL for a given owner. * Returns null if owner is null/empty. */ export declare function getOwnerAvatarUrl(owner: string | null, size?: number): string | null; //# sourceMappingURL=directory-repo.d.ts.map