import type { CreateTaskInput } from "../types/index.js";
export interface GitHubIssue {
    number: number;
    title: string;
    body: string | null;
    labels: string[];
    state: string;
    assignee: string | null;
    url: string;
}
/** Parse a GitHub issue URL into owner/repo/number */
export declare function parseGitHubUrl(url: string): {
    owner: string;
    repo: string;
    number: number;
} | null;
/** Fetch a GitHub issue using the gh CLI with safe argument passing */
export declare function fetchGitHubIssue(owner: string, repo: string, number: number): GitHubIssue;
/** Convert a GitHub issue to a CreateTaskInput */
export declare function issueToTask(issue: GitHubIssue, opts?: {
    project_id?: string;
    task_list_id?: string;
    agent_id?: string;
}): CreateTaskInput;
//# sourceMappingURL=github.d.ts.map