import type { BashResult } from "./bash-executor.ts";
import type { BashOperations } from "./tools/bash.ts";
import type { AgentSessionInternalSurface as AgentSession } from "./agent-session-methods.ts";
export declare function executeBash(this: AgentSession, command: string, onChunk?: (chunk: string) => void, options?: {
    excludeFromContext?: boolean;
    operations?: BashOperations;
    pty?: boolean;
}): Promise<BashResult>;
/**
 * Record a bash execution result in session history.
 * Used by executeBash and by extensions that handle bash execution themselves.
 */
export declare function recordBashResult(this: AgentSession, command: string, result: BashResult, options?: {
    excludeFromContext?: boolean;
}): void;
/**
 * Cancel running bash command.
 */
export declare function abortBash(this: AgentSession): void;
/** Whether a bash command is currently running */
export declare function _flushPendingBashMessages(this: AgentSession): void;
/**
 * Set a display name for the current session.
 */
export declare const agentSessionBashMethods: {
    executeBash: typeof executeBash;
    recordBashResult: typeof recordBashResult;
    abortBash: typeof abortBash;
    _flushPendingBashMessages: typeof _flushPendingBashMessages;
};
//# sourceMappingURL=agent-session-bash.d.ts.map