import type { Context } from '@deepseek-ai/cordis'; import type { ToolRunContext } from '@deepseek-ai/dsh-tools'; import type { PartnerStore } from '../store.js'; import { parseChatInput } from './protocol.js'; type Parts = ReturnType; export interface PersonaDeliveryOptions { /** Chat tools already receive a persona-authored draft; validate without rewriting it. */ authored?: boolean; surface?: 'chat' | 'public-comment'; target?: string; single?: boolean; beforeTools?: boolean; preserveText?: boolean; inlineDetails?: boolean; validate?: () => void; } export interface PersonaDeliveryAudit { status: 'rendered' | 'preserved' | 'fallback'; reason?: string; surface: 'chat' | 'public-comment'; durationMs: number; } export interface PersonaDeliveryResult { parts: Parts; audit?: PersonaDeliveryAudit; validate?: () => void; } /** One read-only delivery projection. No operational tools, sends, retries or history edits. */ export declare function renderPersonaDelivery(ctx: Context, owner: string, store: PartnerStore, exec: ToolRunContext, parts: Parts, options?: PersonaDeliveryOptions): Promise; export {}; //# sourceMappingURL=persona-delivery.d.ts.map