import type { FusionConfig } from "$/ai-utils";
import type { DevToolsSys } from "types";
export declare const getTempFolder: () => string;
export declare const cleanupTempFolder: () => boolean;
/**
 * Detects if a command is multi-line (contains newlines)
 */
export declare const isMultiLineCommand: (command: string) => boolean;
/**
 * Creates a temporary script file for multi-line commands
 */
export declare const createTempScript: (command: string, shell: string) => string;
/**
 * Cleans up a temporary script file
 */
export declare const cleanupTempScript: (scriptPath: string) => void;
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
export declare const isInRemoteContainer: () => boolean;
export declare const getVolumePath: (fusionConfig: FusionConfig) => string;
export declare function computeAIBranchName(featureBranch: string, sessionId: string): string;
export declare const getAndParseGitRepoInfo: ({ sys, gitWorkingDirectory, strict, }: {
    sys: DevToolsSys;
    gitWorkingDirectory: string;
    strict: boolean;
}) => Promise<{
    currentBranch: string;
    featureBranch: string;
    sessionId: string | undefined;
}>;
