/** * Indexed search — analytics, corpus stats, and document listing. * * GET /search/projects/:projectId/analytics — top queries, CTR, latency * GET /search/projects/:projectId/stats — corpus size + namespace breakdown * GET /search/projects/:projectId/documents — paginated document list * * Console-facing only — the SDK-level search *write* endpoints (index / * query / click) remain internal. Consumers index documents through the * runtime SDK; this namespace is for operator-grade introspection. */ import type { SearchAnalyticsResult, SearchDocumentItem, SearchListDocumentsResult, SearchNamespaceStats, SearchStatsResult, SearchTopQuery } from '@sylphx/contract'; import type { Client } from './client.js'; export type TopQuery = SearchTopQuery; export type SearchAnalytics = SearchAnalyticsResult; export interface AnalyticsOptions { readonly namespace?: string; readonly dateFrom?: string; readonly dateTo?: string; } export declare const analytics: (client: Client, projectId: string, options?: AnalyticsOptions) => Promise; export type NamespaceStats = SearchNamespaceStats; export type SearchStats = SearchStatsResult; export declare const stats: (client: Client, projectId: string, namespace?: string) => Promise; export type SearchDocument = SearchDocumentItem; export type ListDocumentsResult = SearchListDocumentsResult; export interface ListDocumentsOptions { readonly namespace?: string; readonly limit?: number; readonly offset?: number; } export declare const listDocuments: (client: Client, projectId: string, options?: ListDocumentsOptions) => Promise; //# sourceMappingURL=search.d.ts.map