import { c as WorkspaceModuleFactory } from "../shared-BP8PrtyI.js"; //#region src/modules/git.d.ts /** Options for {@link createGitModule}. */ interface GitModuleOptions { /** * Allow `clone` and network `cli` commands such as `fetch` and `push`. * Defaults to `false`. These requests run from the host, so the * JavaScript backend's egress settings do not apply to them. */ readonly allowNetwork?: boolean; } /** * Build the `ws:git` host module over the Workspace's Git client. * * It exports `clone`, `diff`, `status`, `log`, and `cli`. Each takes the * same options object as the matching `GitClient` method, with `dir` or * `cwd` resolved against the backend root. * * @param options - Whether network commands are allowed. * @returns The module to pass as `modules["ws:git"]`. */ declare function createGitModule(options?: GitModuleOptions): WorkspaceModuleFactory; //#endregion export { GitModuleOptions, createGitModule }; //# sourceMappingURL=git.d.ts.map