import type { Client } from "@libsql/client"; import { type FigmentEdge } from "../registry/figment-edges-repo.js"; export interface UpsertFtsCacheResult { vaultPath: string; ran: boolean; ftsDocsUpserted: number; durationMs: number; } export interface UpsertFtsCacheOpts { lytDb?: Client; ftsOnly?: boolean; } export declare function upsertFtsCache(vaultPath: string, opts?: UpsertFtsCacheOpts): Promise; export declare function indexScaffoldFtsOnCreate(vaultPath: string): Promise; export declare function walkVaultFigmentFiles(vaultPath: string): string[]; export declare function toVaultRelPosix(absPath: string, vaultPath: string): string; export declare function stripFrontmatter(raw: string): string; export declare function isScaffoldNote(nameOrRelPath: string): boolean; export declare function stripCodeFences(body: string): string; export interface ExtractedFtsBody { body: string; links: FigmentEdge[]; } export declare function extractWikilinks(body: string): ExtractedFtsBody; export declare function extractFtsBody(raw: string): ExtractedFtsBody; export declare function extractFrontmatterTags(raw: string): string[]; export interface FigmentDates { createdIso: string | null; modifiedIso: string | null; } export declare function parseFigmentDates(raw: string): FigmentDates; export interface FigmentTopicTags { topic: string | null; tags: string[]; } export declare function parseFigmentTopicTags(raw: string): FigmentTopicTags; //# sourceMappingURL=upsert-fts-cache.d.ts.map