/** * A header as text. * * Layer 7, and pure. `formatDiagnostics` already turns problems into something a human reads; * this does the same for the header itself — the thing that goes into a bug report, a CLI, or a * log line when a file behaves oddly. * * Two rules keep it useful rather than decorative. It never invents a value: a field edfcore * could not resolve prints as `unknown` rather than as a plausible default, because the whole * point of pasting this somewhere is that the reader can trust it. And it prints no patient * identification unless asked — a header carries a name and a birth date, and a summary that * lands in a chat log or an issue tracker should not carry them by default. */ import type { EdfHeader, FormatHeaderOptions } from './types.js'; /** * A multi-line summary of a header. * * Patient identification is omitted unless `includePatientId` is set. That is not a privacy * feature — the data is still in `header.patient` for anyone who wants it — it is a default * chosen so that the obvious thing to do with this string is also the safe one. */ export declare function formatHeader(header: EdfHeader, options?: FormatHeaderOptions): string; //# sourceMappingURL=format-header.d.ts.map