import type { RuntimeBootstrap } from "./runtime-bootstrap.js";
import type { CapabilityInjection } from "./capability-injection.js";
export declare const PROMPT_ENVELOPE_SCHEMA = "omk.prompt-envelope/v1";
export interface PromptEnvelopeInput {
    readonly bootstrap: RuntimeBootstrap;
    readonly prompt: string;
    readonly capabilities: CapabilityInjection;
    readonly role?: string;
    readonly nodeId?: string;
    readonly runId?: string;
    readonly executionPrompt?: string;
    readonly turnRisk?: "read" | "write" | "shell" | "merge";
    readonly sandboxMode?: "read-only" | "workspace-write";
}
export interface PromptEnvelopeSection {
    readonly title: string;
    readonly lines?: readonly string[];
    readonly body?: string;
}
export interface PromptEnvelope {
    readonly schema: typeof PROMPT_ENVELOPE_SCHEMA;
    readonly role: string;
    readonly userPrompt: string;
    readonly sections: readonly PromptEnvelopeSection[];
    readonly text: string;
}
export declare function buildPromptEnvelope(input: PromptEnvelopeInput): PromptEnvelope;
export declare function renderPromptEnvelope(envelope: PromptEnvelope): string;
