/**
 * @fileoverview Handles registration and error handling for the git_rebase tool.
 * @module src/mcp-server/tools/gitRebase/registration
 */
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { RequestContext } from "../../../utils/index.js";
export type GetWorkingDirectoryFn = (sessionId: string | undefined) => string | undefined;
export type GetSessionIdFn = (context: RequestContext) => string | undefined;
/**
 * Registers the git_rebase tool with the MCP server instance.
 * @param server The MCP server instance.
 * @param getWorkingDirectory Function to get the session's working directory.
 * @param getSessionId Function to get the session ID from context.
 */
export declare const registerGitRebaseTool: (server: McpServer, getWorkingDirectory: GetWorkingDirectoryFn, getSessionId: GetSessionIdFn) => Promise<void>;
//# sourceMappingURL=registration.d.ts.map