export type GitLocationScope = "global" | "local" | "system" | "worktree";
export type GitConfigOptions = {
    location?: GitLocationScope;
    comment?: string;
};
export declare function gitConfigGet(key: string, { location }?: Pick<GitConfigOptions, "location">): Promise<string>;
export declare const gitConfigSet: (key: string, value: string, { location, comment }?: GitConfigOptions) => Promise<{
    stdout: string;
}>;
