import { type OutputModeRuntimeOptions, type OutputModeRuntimeResult } from '../output-modes/runtime.js'; import type { ResolvedOutputMode } from '../output-modes/types.js'; export interface WritingConsumerRequest { cwd: string; frameworkRoot: string; invocationModes?: string[]; /** Exact author-preference task scope; omitted retains global preferences only. */ task?: string; /** Caller-supplied labels, never inferred provider execution evidence. */ provider: string; consumer: string; format: 'prose' | 'json' | 'tool' | 'protocol'; runtime?: OutputModeRuntimeOptions; } export interface WritingConsumerResult { content: string; modes: ResolvedOutputMode[]; instructionExport: string; diagnostics: string[]; runtime?: OutputModeRuntimeResult; state: { provider: string; consumer: string; identityEvidence: 'caller-supplied'; selected: string[]; delivered: string[]; applied: string[]; validated: string[]; deliveredTo: 'local-transform-callback' | 'none'; fallback: 'none' | 'unaltered'; providerInterception: false; }; } /** Shared opt-in boundary: only a participating prose callback can transform output. */ export declare function applyWritingConsumer(input: string, request: WritingConsumerRequest): Promise; //# sourceMappingURL=writing-consumer.d.ts.map