import { Js as NODMIX_RUNTIME_CONTEXT_CUSTOM_TYPE, t as CurrentInboundPromptContext } from "../../../params-DGej4EA0.js";

//#region src/agents/embedded-agent-runner/run/runtime-context-prompt.d.ts
type RuntimeContextPromptParts = {
  prompt: string;
  modelPrompt?: string;
  runtimeContext?: string;
  runtimeOnly?: boolean;
  runtimeSystemContext?: string;
};
type RuntimeContextCustomMessage = {
  role: "custom";
  customType: string;
  content: string;
  display: false;
  details: {
    source: "nodmix-runtime-context";
  };
  timestamp: number;
};
type EmptyTranscriptMode = "model-prompt" | "runtime-event";
declare function buildCurrentInboundPromptContextPrefix(context: CurrentInboundPromptContext | undefined, options?: {
  preferResumableText?: boolean;
}): string;
declare function buildCurrentInboundPrompt(params: {
  context: CurrentInboundPromptContext | undefined;
  prompt: string;
  preferResumableText?: boolean;
}): string;
declare function resolveRuntimeContextPromptParts(params: {
  effectivePrompt: string;
  transcriptPrompt?: string;
  modelPrompt?: string;
  emptyTranscriptMode?: EmptyTranscriptMode;
}): RuntimeContextPromptParts;
declare function buildRuntimeContextSystemContext(runtimeContext: string): string;
declare function buildRuntimeEventSystemContext(runtimeContext: string): string;
declare function buildRuntimeContextCustomMessage(runtimeContext: string | undefined): RuntimeContextCustomMessage | undefined;
//#endregion
export { NODMIX_RUNTIME_CONTEXT_CUSTOM_TYPE, RuntimeContextCustomMessage, buildCurrentInboundPrompt, buildCurrentInboundPromptContextPrefix, buildRuntimeContextCustomMessage, buildRuntimeContextSystemContext, buildRuntimeEventSystemContext, resolveRuntimeContextPromptParts };