import { Result } from '@fgv/ts-utils'; /** * Represents a single record in a JAR file * @public */ export type JarRecord = Record; /** * @public */ export type JarFieldPicker = (record: T) => (keyof T)[]; /** * Options for a JAR record parser. * @public */ export interface JarRecordParserOptions { readonly arrayFields?: string[] | JarFieldPicker; readonly fixedContinuationSize?: number; } /** * Reads a record-jar from an array of strings, each of which represents one * line in the source file. * @param lines - the array of strings to be parsed * @param options - Optional parser configuration * @returns a corresponding array of `Record` * @public */ export declare function parseRecordJarLines(lines: string[], options?: JarRecordParserOptions): Result; //# sourceMappingURL=recordJarHelpers.d.ts.map