import { Relace } from "./client.mjs"; /** * Helper class that provides Git operations to the SDK. */ declare class GitHelper { private client; private rootPath; constructor(client: Relace, rootPath: string); /** * Clone a Git repository. */ clone(options: { repoId: string; depth?: number; branch?: string; quiet?: boolean; args?: string[]; }): void; /** * Fetch updates from remote repository (optionally for a specific branch) */ fetch(options?: { branch?: string; }): void; /** * Stage files for commit */ add(options?: { files?: string | string[]; }): this; /** * Commit staged files */ commit(options: { message: string; }): this; /** * Push commits to remote */ push(options?: { branch?: string; }): void; /** * Pull a repo (optionally from a specific branch) */ pull(options?: { branch?: string; }): void; /** * Checkout a Git branch. */ checkoutBranch(options: { branch: string; newBranch?: boolean; }): void; /** * Run a generic git command. */ command(options: { cmd: string; }): this; } /** * Attach git helpers to the SDK prototype. */ export declare function attachGitSupport(ClientClass: typeof Relace): void; export { GitHelper }; //# sourceMappingURL=git.d.mts.map