import type { SandboxSession } from "eve/sandbox";
type CommandSandbox = Pick<SandboxSession, "run">;
export declare function withBrokeredGitHubCredential<T>(sandbox: Required<Pick<SandboxSession, "setNetworkPolicy">>, token: string, operation: () => Promise<T>): Promise<T>;
export declare function gitOutput(sandbox: CommandSandbox, command: string, trim?: boolean): Promise<string>;
export declare function runGitCommand(sandbox: CommandSandbox, command: string): Promise<void>;
export {};
