import type { ExtractedContent, ExtractOptions } from "./extract.ts"; type Kind = "pull" | "issue"; export interface GitHubIssuePrUrlInfo { owner: string; repo: string; kind: Kind; number: number; anchor?: string; } interface RenderData { url: string; owner: string; repo: string; kind: Kind; number: number; anchor?: string | undefined; view: Record; reviewThreads: Record[]; reviewThreadsBounded?: boolean | undefined; reviewThreadsUnavailable?: boolean | undefined; fallbackNotes: string[]; /** Retrieval tool the hints may name: unset means the default name, null means retrieval is not registered. */ retrievalTool?: string | null | undefined; } export declare function parseGitHubIssuePrUrl(url: string): GitHubIssuePrUrlInfo | null; export declare function renderGitHubPrIssue(data: RenderData): ExtractedContent; export declare function extractGitHubIssuePr(url: string, signal?: AbortSignal, options?: ExtractOptions): Promise; export {};