import type { ModuleCommandResult } from "../contracts/module-contract.js";
/**
 * Builtin contextual template for maintainer phase closeout / release flows.
 * Runs before manifest `defaultResponseTemplateId` so routine commands keep manifest defaults.
 */
export declare function resolveContextualResponseTemplateId(commandName: string, args: Record<string, unknown>): string | undefined;
/** When `run` merges shadow CAE into `data.cae`, surface bounded hints for template consumers (T885). */
export declare function mergeCaePresentationHints(data: Record<string, unknown> | undefined): Record<string, unknown>;
/**
 * Response templates are late output metadata. Project only concise, already-resolved policy fields;
 * generated always-applied rules remain the primary chat instruction surface.
 */
export declare function mergeAgentPresentationTemplateHints(data: Record<string, unknown> | undefined): Record<string, unknown>;
/**
 * Apply response template metadata and optional presentation hints (T262, T265).
 * Advisory mode never flips `ok` for template issues. Strict mode fails closed on unknown resolved template ids
 * (explicit, override, or default) and on explicit-vs-directive conflicts (`response-template-conflict`).
 */
export declare function applyResponseTemplateApplication(commandName: string, args: Record<string, unknown>, result: ModuleCommandResult, effective: Record<string, unknown>): ModuleCommandResult;
