/** * Steering hint utilities. * * Manages the steering hint tag that is injected before the latest user * message each turn. Provides helpers for stripping, detecting, and building * the hint so they can be tested independently. */ export declare const STEERING_HINT_OPEN_TAG: string; export declare const STEERING_HINT_CLOSE_TAG: string; export declare const STEERING_HINT: string; /** Input-message content types (string or multipart text-part array). */ type MessageContent = string | Array<{ type: string; text?: string; }>; /** Strip any old steering hint tags from a string. */ export declare function stripSteeringHintText(text: string): string; /** Strip steering hint tags from content (string or text-part array). */ export declare function stripSteeringHintFromContent(content: string | { type: string; text?: string; }[]): string | { type: string; text?: string; }[]; /** Check whether content (string or text-part array) contains the steering hint tag. */ export declare function contentContainsSteeringHintTag(content: MessageContent): boolean; /** Deep-equality check that handles unordered object keys (unlike JSON.stringify). */ export declare function isJsonEqual(a: unknown, b: unknown): boolean; /** Remove any existing steering-hint system messages and strip tags from user messages. * Returns the sanitized messages and a flag indicating whether anything changed. */ export declare function stripSteeringHintsFromMessages(messages: any[]): { messages: any[]; changed: boolean; }; export declare function configureSteering(config: { enabled: boolean; customPrompt?: string; }): void; /** Build a system message containing the steering hint. * Returns null when steering is disabled so the caller can skip injection. */ export declare function makeSteeringHintMessage(referenceMessage?: any): any | null; export {}; //# sourceMappingURL=sliding-prompt.d.ts.map