/**
 * GitHub URL source parser for the external command
 *
 * Parses various GitHub URL formats into a structured representation
 * for cloning and skill discovery.
 */
/**
 * Parsed GitHub source information
 */
export type ParsedGitHubSource = {
    url: string;
    ref: string | null;
    subpath: string | null;
    skillFilter: string | null;
};
/**
 * Parse a GitHub source string into structured format.
 *
 * Supported formats:
 * - https://github.com/owner/repo
 * - https://github.com/owner/repo.git
 * - https://github.com/owner/repo/tree/branch
 * - https://github.com/owner/repo/tree/branch/path/to/skills
 * - owner/repo (shorthand)
 * - owner/repo/path/to/skills (shorthand with subpath)
 * - owner/repo@skill-name (shorthand with skill filter)
 * - git@github.com:owner/repo.git (SSH)
 *
 * @param args - The function arguments
 * @param args.source - The source string to parse
 *
 * @returns Parsed source or null if not a valid GitHub source
 */
export declare const parseGitHubSource: (args: {
    source: string;
}) => ParsedGitHubSource | null;
//# sourceMappingURL=sourceParser.d.ts.map