export interface GitPreflightResult { insideGitWorkTree: boolean; degradedNoGitMode: boolean; } export declare function isNoGitModeRequested(args: string[]): boolean; export declare function isInsideGitWorkTree(cwd?: string): boolean; export declare function requireGitWorkTreeOrExplicitNoGit(commandName: string, args: string[], cwd?: string): GitPreflightResult; export declare function formatNoGitModeWarning(commandName: string): string; //# sourceMappingURL=git-preflight.d.ts.map