import type { ChatMessage } from "../types.js"; import { AGENT_INSTRUCTIONS_PREFIX } from "../instructions/load.js"; import { ACTIVE_SKILLS_PREFIX } from "../skills/catalog.js"; export { AGENT_INSTRUCTIONS_PREFIX, ACTIVE_SKILLS_PREFIX }; export declare function upsertKeyed(messages: ChatMessage[], prefix: string, content: string | undefined): void; export declare function isAgentInstructionsMessage(content: string): boolean; export declare function isActiveSkillsMessage(content: string): boolean; export declare function isClearedKeyedBlock(content: string): boolean; export declare function isKeyedBlockMessage(content: string, prefix: string): boolean; export declare function latestKeyedBlock(messages: readonly { role: string; content: string; }[], prefix: string): string | undefined; export declare function upsertAgentInstructionsMessage(messages: ChatMessage[], block: string | undefined): void; export declare function upsertActiveSkillsMessage(messages: ChatMessage[], block: string | undefined): void;