/**
 * @typedef {Object} ToJsonOptions
 * @property {boolean} [log=true]
 * @property {string} [delimiter=':']
 * @property {string[]|string|false} [comment='%']
 * @property {boolean|'fix'} [forgiving]
 */
/**
 * Transform a string into an array or object of values.
 *
 * @param {string} value
 * @param {ToJsonOptions} [options={}]
 */
export function toJson(value: string, options?: ToJsonOptions): any
export type ToJsonOptions = {
  log?: boolean
  delimiter?: string
  comment?: string[] | string | false
  forgiving?: boolean | 'fix'
}
