import type { Context } from '@deepseek-ai/cordis'; import type { Agent } from '@deepseek-ai/dsh-agent'; import type { SessionEvent } from '@deepseek-ai/dsh-session'; import type { PartnerStore } from '../store.js'; import type { ExecutionRun } from './domain.js'; import type { PartnerReply } from '../channel-message.js'; import type { CharacterCard } from '../character/domain.js'; /** Applied after persona projection: exclusive mode otherwise removes turn preferences. */ export declare function renderBackgroundDeliveryExpression(card?: CharacterCard): string; /** Only a completed answer belonging to this exact handoff can be reused. */ export declare function foregroundCompletionText(events: readonly SessionEvent[], id: string): string | undefined; /** Run the completion in the real foreground agent, never through a separate LLM. */ export declare function composeBackgroundDelivery(ctx: Context, store: PartnerStore, run: ExecutionRun, agent: Agent, reply: PartnerReply): Promise; //# sourceMappingURL=background-delivery.d.ts.map