import { parseGitHubUrl } from '../lib/utils/parse-github-url.js'; interface GitHubUrlParts { owner: string; path?: string; ref?: string; repo: string; } export interface TemplateInfo { description?: string; id: string; name: string; } export interface GitHubService { getTemplateDirectories(template: string, customUrl?: string): Promise; getTemplates(customUrl?: string): Promise; parseGitHubUrl(url: string): GitHubUrlParts; } export declare function createGitHub(token?: string): { getTemplateDirectories: (template: string, customUrl?: string) => Promise; getTemplates: (customUrl?: string) => Promise; parseGitHubUrl: typeof parseGitHubUrl; }; export {};