import type { GitService } from "@superblocksteam/vite-plugin-file-sync/git-service"; export declare function getGitErrorFields(error: unknown): { gitErrorKind: string; gitErrorMessage: string; }; /** * When an existing local repo (hasGit=true) is pointed at a brand-new empty * remote, the first branch pushed becomes the remote's HEAD. If that branch * happens to be `superblocks/live`, the hosting service treats it as the * default branch — which is wrong. * * This helper detects a completely empty remote and preemptively pushes the * current HEAD as `main`, so `main` becomes the remote default before * `superblocks/live` is ever pushed. */ export declare function ensureRemoteHasDefaultBranch(git: GitService, remoteUrl: string): Promise; //# sourceMappingURL=git-repo-setup.d.mts.map