import type { AftTransportPool } from "@cortexkit/aft-bridge"; import type { AftConfig } from "./config.js"; type ActiveBridgePool = Pick; export declare const BASH_WAIT_DETACH_MAGIC_KEYWORD = "&detach"; /** Strip the `&detach` control token before Pi's input transform delivers the user message to the model. */ export declare function stripUserMessageDetachKeyword(messageText: string): string; /** Decide whether a user message should signal an active wait:true bash call. */ export declare function shouldDetachBashWaitOnUserMessage(config: AftConfig, messageText: string): boolean; export declare function signalBashWaitDetachForProject(pool: ActiveBridgePool, projectRoot: string, sessionID: string | undefined): Promise; export {}; //# sourceMappingURL=bash-wait-detach.d.ts.map