import type { CaptureOutcome, SalienceDeps, SalienceInput } from "./types.js";
interface RawSalienceItem {
    readonly body: string;
    readonly type: string;
    readonly confidence: number;
    readonly scope: string;
    readonly tags: readonly string[];
}
export declare const SALIENCE_SYSTEM_PROMPT = "You extract durable memories from a chat turn so an assistant can remember the user across future conversations.\n\nReturn ONLY a JSON array (no prose, no markdown fences). Each element:\n{ \"body\": string, \"type\": string, \"confidence\": number, \"scope\": string, \"tags\": string[] }\n\nCapture ONLY facts the USER asserted about THEMSELVES or THEIR work that are durable and worth remembering: identity, stable preferences, project and technology facts, decisions, constraints, goals, environment, team, and recurring workflow lessons. Write each \"body\" as a concise, self-contained, third-person statement (e.g. \"The user is building a fintech app called Atlas in Rust with PostgreSQL\"). Identity statements should be canonicalised the same way every time, for example \"My name is Paul.\" / \"Hallo Keiko, ich bin Paul.\" -> \"The user's name is Paul.\".\n\nCapture LIBERALLY \u2014 the bar is low; when in doubt, include it.\n\nEXCLUDE: questions; one-off ephemeral task requests; anything the ASSISTANT said or suggested (the assistant message is context only, never a source of user facts); general world knowledge; and anything secret or credential-like (passwords, API keys, tokens, private keys).\n\n\"type\" is one of: identity, preference, fact, decision, constraint, goal, lesson, procedural. \"scope\" is one of: user (personal facts/preferences), project (project-specific facts), workspace. \"confidence\" is 0..1. \"tags\" is a short list of lowercase keywords.\n\nIf there is nothing durable to capture, return [].";
export declare function parseSalienceItems(raw: string): readonly RawSalienceItem[];
export declare function extractSalientMemories(input: SalienceInput, deps: SalienceDeps): Promise<readonly CaptureOutcome[]>;
export {};
//# sourceMappingURL=salience.d.ts.map