import { IReader } from "../../../../base/common/observable.js"; import { IChat, IGitHubIssueRef, IGitHubPullRequestRef, ISession, ISessionArtifact } from "../../../services/sessions/common/session.js"; export interface ISessionGitHubReferences { readonly pullRequests: readonly IGitHubPullRequestRef[]; readonly issues: readonly IGitHubIssueRef[]; } /** Recognizes recorded links supported by the dedicated GitHub surfaces. */ export declare function parseGitHubArtifactLink(artifact: ISessionArtifact): Pick | undefined; /** * Resolves dedicated GitHub pills from artifacts and workspace associations, scoped to `chat` when supplied. * A chat shows only the records it created, where unowned legacy records belong to the main chat. Without * automatic PR association, chats show no pull requests beyond their own. */ export declare function getSessionGitHubReferences(session: ISession | undefined, reader: IReader | undefined, chat?: IChat, autoAssociatePullRequests?: boolean): ISessionGitHubReferences;