import type { AuthNeededItem } from "../../../timeline/index.js"; import type { ResourceRef } from "../../types.js"; import { type ChatSendContext } from "./session-github-repositories.js"; export type SessionGitHubCapabilityCardProps = { item: AuthNeededItem; workspaceId: string; sessionId: string; /** The chat's mounted resources; repository rows are additive and immutable. */ resources?: readonly ResourceRef[] | undefined; /** What a composer Send would carry now, so this Send follows the same rules. */ sendContext?: (() => ChatSendContext) | undefined; /** Re-read the session after a human attach or setup lands. */ onConfigured?: (() => Promise) | undefined; }; /** * The GitHub App card in a conversation. Connecting is the workspace's GitHub * App binding; using a repository in this chat is an ordinary human message * that carries the repository resource, the same request the composer * repository picker sends. The agent can request this card but never attach. */ export declare function SessionGitHubCapabilityCard({ item, workspaceId, sessionId, resources, sendContext, onConfigured, }: SessionGitHubCapabilityCardProps): import("react").JSX.Element;