import type { EntityName } from './schema.js'; /** Concrete corpus URIs. Templates live beside them, not inside them. */ export declare const CORPUS_URI: { readonly catalog: 'telkomsel://catalog'; readonly products: 'telkomsel://products'; readonly product: 'telkomsel://products/{slug}'; readonly segments: 'telkomsel://segments'; readonly roamingDestinations: 'telkomsel://roaming-destinations'; }; export declare const CORPUS_ID = "telkomsel-product-catalog"; /** * How long a copy of this data may be trusted. * * `static` — bundled, changes only when the dataset is regenerated. * `reference` — global and slow-moving; a copy is safe for a long time. * `live` — changes per request. Never corpus. */ export type Volatility = 'static' | 'reference' | 'live'; export interface VolatilityProfile { volatility: Volatility; indexable: boolean; /** Why this classification, in the terms an indexer's operator would ask. */ rationale: string; /** What to do instead of trusting a copy. */ refreshHint: string; } export declare const VOLATILITY: Record; /** * Deterministic JSON: object keys sorted, so the digest reflects a change in * content rather than a change in the order the upstream happened to serialise * its keys. Without this, re-ordering the same data would look like an edit and * every dependent document would be re-embedded for nothing. */ export declare function canonicalJson(value: unknown): string; /** * Content digest for incremental sync. * * Covers the `data` payload only. The envelope's own timestamp is excluded on * purpose: a hash that changed on every read would be useless for deciding * whether anything actually changed, which is the one question it exists to * answer. */ export declare function hashContent(payload: unknown): string; /** Byte length of the content an indexer would store. */ export declare function contentByteLength(payload: unknown): number; export interface NotIndexable { what: string; entity: EntityName; why: string; useInstead: string; } /** * Material an indexer will be tempted to embed and must not. Stated explicitly * because the failure is silent: a stale price in an index looks exactly like a * current price, and an answer built on it cites nothing that reveals the * problem. */ export declare const NOT_INDEXABLE: NotIndexable[]; /** * What an indexer should do with the catalog, written for the indexer's author * rather than for a human reading documentation. */ export declare const SYNC_INSTRUCTIONS: string[];