import { i as OpenClawConfig } from "../types.openclaw-DBHlrrVj.js";
import { ei as CommandContext } from "../types-C0dQmare.js";
import { t as CrestodianCommandDeps } from "../operations-ig8ZTxmG.js";

//#region src/crestodian/rescue-message.d.ts
/** Input required to process one possible `/crestodian` rescue message. */
type CrestodianRescueMessageInput = {
  cfg: OpenClawConfig;
  command: CommandContext;
  commandBody: string;
  agentId?: string;
  isGroup: boolean;
  env?: NodeJS.ProcessEnv;
  deps?: CrestodianCommandDeps;
};
/** Extract the command body after `/crestodian`, or null when the message is not for rescue. */
declare function extractCrestodianRescueMessage(commandBody: string): string | null;
/** Process one rescue message and return a reply, or null when not a rescue command. */
declare function runCrestodianRescueMessage(input: CrestodianRescueMessageInput): Promise<string | null>;
//#endregion
export { CrestodianRescueMessageInput, extractCrestodianRescueMessage, runCrestodianRescueMessage };