import type { ChatbotFile } from '../chatbot.types.js'; export declare const MAX_TEXTUAL_PREVIEW_BYTES: number; export declare const SNIPPET_LINES = 3; export declare const SNIPPET_COMPACT_THRESHOLD = 4; export declare function fileExtension(file: ChatbotFile): string; export declare function isTextualFile(file: ChatbotFile): boolean; export interface TextualContentSuccess { text: string; truncated: boolean; lineCount: number; } export interface TextualContentError { error: string; } export type TextualContent = TextualContentSuccess | TextualContentError; export declare function loadTextualContent(file: ChatbotFile): Promise; export declare function snippetOf(text: string, lines?: number): string; //# sourceMappingURL=textual-file.d.ts.map