/** * GGUF File Parser * Parses GGUF model file headers to extract metadata */ import { type GGUFFile, type ModelArchitecture } from '../types/index.js'; /** * Parse a GGUF file and extract header, metadata, and tensor info */ export declare function parseGGUF(filePath: string, maxArraySize?: number): Promise; /** * Extract model architecture info from GGUF metadata */ export declare function extractArchitecture(gguf: GGUFFile): ModelArchitecture; /** * Get chat template from GGUF metadata if present */ export declare function getChatTemplate(gguf: GGUFFile): string | undefined; /** * Quick check if a file is a valid GGUF file */ export declare function isGGUF(filePath: string): Promise; //# sourceMappingURL=gguf.d.ts.map