import { T as ToolHost } from '../tool-host-BqJRPr_T.js'; import { B as Bridge } from '../types-D_TzdBsK.js'; import '../types-ITRQFAir.js'; type GitProposal = { operation: string; arguments: Record; summary: string; }; type GitBridgeAdapter = { status: () => Promise; log: (query: { ref?: string; limit?: number; skip?: number; }) => Promise; diff: (query: { from?: string; to?: string; staged?: boolean; paths?: string[]; }) => Promise; reviews?: (query: { state?: string; cursor?: string; limit?: number; }) => Promise; checks?: (revision: string) => Promise; propose: (operation: string, args: Record) => Promise; applyProposal?: (proposal: GitProposal) => Promise; }; type GitBridgeOptions = { adapter: GitBridgeAdapter; agent?: { id: string; name?: string; color?: string; }; /** Defaults to proposal-only. Set true only when the host has its own confirmation policy. */ allowApply?: boolean; }; declare function registerGitBridge(host: ToolHost, options: GitBridgeOptions): Bridge; export { type GitBridgeAdapter, type GitBridgeOptions, type GitProposal, registerGitBridge };