import type { DifyAccessor } from '../../accessor/dify.ts'; import { IndexEntry } from '../../cache/index/config.ts'; import type { IndexCacheStore } from '../../cache/index/store.ts'; export declare function scalarString(value: unknown): string | null; export declare function ensureTree(accessor: DifyAccessor, index: IndexCacheStore, prefix?: string): Promise; export declare function buildDirEntries(documents: Record[], prefix: string, slugMetadataName?: string): Map; export declare function extractSlug(document: Record, slugMetadataName?: string): [string, boolean]; export declare function normalizeSlug(value: string): string; export declare function extractDocumentSize(document: Record): number | null; export declare function timestampToIso(value: unknown): string; //# sourceMappingURL=tree.d.ts.map