import type { KnowledgeIngestFailedFileResult, KnowledgeIngestFileResult, KnowledgeIngestSkippedFileResult } from "./result.js"; export type KnowledgeSource = { kind: "local"; input: string; localPath: string; } | { kind: "upload"; input: string; uploadPath: string; localPath: string; }; export interface KnowledgeSourceCollection { sources: KnowledgeSource[]; skipped: KnowledgeIngestSkippedFileResult[]; } export declare function normalizeKnowledgeInputPath(inputPath: string): string; export declare function normalizeProjectUploadPath(inputPath: string): string; export declare function formatKnowledgeUploadSource(uploadPath: string): string; export declare function resolveExplicitUploadPath(inputPath: string): string; export declare function isLikelyLocalPath(value: string): boolean; export declare function isProjectUploadReference(value: string): boolean; export declare function stripChatUploadPrefix(name: string): string; export declare function resolveKnowledgeDownloadOutputDir(outputDir: string): string; export declare function createFailedKnowledgeSource(input: { source: string; localSourcePath: string; message: string; reason: KnowledgeIngestFailedFileResult["reason"]; }): KnowledgeIngestFailedFileResult; export declare function collectLocalFiles(root: string, recursive: boolean): Promise; export declare function buildSourceReference(source: KnowledgeSource): string; export declare function buildSuggestedSlug(source: KnowledgeSource, index: number): string; export declare function ensureUniqueSlugs(sources: KnowledgeSource[]): string[]; export declare function deriveKnowledgeRemotePath(outputPath: string, outputDir: string, knowledgePath: string): string; export declare function createKnowledgeIngestResult(input: { source: string; localSourcePath: string; outputPath: string; remotePath: string; parser: { slug: string; stats: Record; warnings: string[]; source_type: string; summary: string; }; }): KnowledgeIngestFileResult; //# sourceMappingURL=command-helpers.d.ts.map