import { z } from 'zod'; import type { KbFileKind } from './kb-file-types.js'; export interface KbView { id: string; label: string; teamId: string; } export declare const KbCreateRequest: z.ZodObject<{ id: z.ZodString; label: z.ZodString; path: z.ZodString; teamId: z.ZodString; }, z.core.$strip>; export type KbCreateRequest = z.infer; export declare const KbRenameRequest: z.ZodObject<{ label: z.ZodString; }, z.core.$strip>; export type KbRenameRequest = z.infer; export declare const KbMkdirRequest: z.ZodObject<{ parent: z.ZodOptional; name: z.ZodString; }, z.core.$strip>; export type KbMkdirRequest = z.infer; export interface KbTreeNode { name: string; path: string; type: 'dir' | 'file'; mtime?: string; children?: KbTreeNode[]; } export interface KbTree { kb: KbView; nodes: KbTreeNode[]; } export interface KbDirectoryPage { kb: KbView; path: string; entries: KbTreeNode[]; nextCursor?: string; } export interface KbSearchResult { kb: KbView; query: string; matches: KbTreeNode[]; scanned: number; truncated: boolean; } export interface KbFile { kbId: string; path: string; name: string; kind: KbFileKind; size: number; language?: string; content?: string; truncated?: boolean; } //# sourceMappingURL=kb.d.ts.map