The main header content from the first line of the directive
Extended properties including date and optional metadata
Optionalcomment?: stringOptional comment text following a semicolon
The date string in YYYY-MM-DD format
Optionalmetadata?: MetadataOptional metadata key-value pairs
OptionalsyntheticThe type of Beancount directive (e.g., 'open', 'close', 'balance')
Generic parse result for directives that include a date field. Extends the base result with date and metadata properties.