import type { SharedSections } from "../../../dynamic-prompt/types.ts";
import type { ExtensionContext } from "../../types.ts";
import { type ResolvedPresetName } from "./contract.ts";
type PresetContext = Pick<ExtensionContext, "cwd" | "model" | "getSystemPromptOptions">;
/**
 * The preset this extension renders for `model` (default: the context's model), or undefined when none
 * applies: no model, or a user system prompt (--system-prompt / SDK loader override) outranks presets.
 */
export declare function resolveActivePresetName(ctx: PresetContext, model?: ExtensionContext["model"]): ResolvedPresetName | undefined;
/**
 * The shared-section wording of the active preset (senpi#5665), for extensions that append their own
 * shared prompt text after the preset renders (terminal, todotools, websearch, bash-timeout).
 */
export declare function activeSharedSections(ctx: PresetContext): SharedSections;
export {};
//# sourceMappingURL=active-preset.d.ts.map