import type { Search } from 'udp-stencil-component-library'; import type { AiSearchSchemaContext } from './types'; // Prompt building blocks for search-intent copilots. Hosts own their full // system prompt (the preamble and domain rules are surface-specific copy); // these renderers cover the mechanical, schema-driven sections so every host // describes fields, operators, and live query state identically. /** "2026-07-06 (Monday)" — for resolving relative dates in user requests. */ export declare const formatTodayForPrompt: () => string; /** * One "path (type)" line per filterable field. Paths deeper than * maxListedSegments dot segments are omitted — hosts with deep association * paths describe those by construction rule instead, because the full list * is too large for the prompt. */ export declare const renderFilterFieldLines: (ctx: AiSearchSchemaContext, maxListedSegments?: number) => string; /** One "name (type) [capabilities]" line per column. */ export declare const renderColumnLines: (ctx: AiSearchSchemaContext) => string; /** One "type: op, op, ..." line per normalized field type. */ export declare const renderOperatorLines: () => string; /** * Compact summary of the live query state, injected fresh on every request. * Rendered in the intent vocabulary (not raw Search field names) and shaped * like the propose tool's payload: filters are reassembled into root * conditions plus one entry per filter group, so nothing about the current * query — the AND/OR that joins it included — is missing from what the model * has to reproduce when it replaces a section. */ export declare const describeCurrentSearchState: (searchBody: Search, ctx: AiSearchSchemaContext) => string; /** * The surface-agnostic rules every search-intent copilot needs (declarative * tri-state sections, capability gates, value formats, clarification). New * hosts start from these and append their own domain rules; hosts with * bespoke prompts may keep their own copy instead. */ export declare const STANDARD_INTENT_RULES: string[]; //# sourceMappingURL=prompt.d.ts.map