import { z } from 'zod';
import { ChunkStrategySchema, ContentTypeSchema } from '../config-schema.js';
/**
 * Zod schema for validating a stored chunk before insertion.
 * The vector field is not validated by Zod (handled by LanceDB).
 */
export const StoredChunkSchema = z.object({
    id: z.string(),
    content: z.string(),
    contextPrefix: z.string(),
    filePath: z.string(),
    type: ContentTypeSchema,
    strategy: ChunkStrategySchema,
    label: z.string(),
    startLine: z.number().int(),
    endLine: z.number().int(),
    metadata: z.string(), // JSON-stringified
});
/** The LanceDB table name used for all totem data. */
export const TOTEM_TABLE_NAME = 'totem_chunks';
//# sourceMappingURL=lance-schema.js.map