import type { SectionOverride, SystemMessageConfig, SystemMessageSection } from "@github/copilot-sdk"; import type { SerializableSessionConfig } from "./types.js"; import type { PromptLayerDescriptor } from "./prompt-layers.js"; export type PromptLayeringKind = NonNullable["kind"]; export interface ComposeSystemPromptOptions { frameworkBase?: string | null; appDefault?: string | null; activeAgentPrompt?: string | null; runtimeContext?: string | null; includeAppDefault?: boolean; /** Optional authored layer descriptors. When present, a layer manifest is rendered above the framework header. */ layerManifest?: ReadonlyArray | null; } export interface ComposeStructuredSystemMessageOptions extends ComposeSystemPromptOptions { additionalSections?: Partial>; additionalContent?: string | null; } export declare function mergePromptSections(parts: Array): string | undefined; export declare function extractPromptContent(message?: string | { mode: "append" | "replace"; content: string; } | null): string | undefined; export declare function buildPromptLayerSections(options: ComposeSystemPromptOptions): Partial>; export declare function composeStructuredSystemMessage(options: ComposeStructuredSystemMessageOptions): SystemMessageConfig | undefined; export declare function composeSystemPrompt(options: ComposeSystemPromptOptions): string | undefined; //# sourceMappingURL=prompt-layering.d.ts.map