import { Result } from '@fgv/ts-utils'; import { FileTree } from '@fgv/ts-json-base'; import { JarRecord, JarRecordParserOptions } from './recordJarHelpers'; /** * Reads a record-jar file from a supplied path. * @param srcPath - Source path from which the file is read. * @param options - Optional parser configuration * @returns The contents of the file as an array of `Record` * @see https://datatracker.ietf.org/doc/html/draft-phillips-record-jar-01 * @public */ export declare function readRecordJarFileSync(srcPath: string, options?: JarRecordParserOptions): Result; /** * Reads a record-jar file from a FileTree. * @param fileTree - The FileTree to read from. * @param filePath - Path of the file within the tree. * @param options - Optional parser configuration * @returns The contents of the file as an array of `Record` * @see https://datatracker.ietf.org/doc/html/draft-phillips-record-jar-01 * @public */ export declare function readRecordJarFromTree(fileTree: FileTree.FileTree, filePath: string, options?: JarRecordParserOptions): Result; //# sourceMappingURL=recordJarFileHelpers.d.ts.map