import Changelog from "./Changelog.js"; import Release from "./Release.js"; export interface Options { /** * Custom function to create Release instances. * Needed if you want to use a custom Release class. */ releaseCreator: (version?: string, date?: string, description?: string) => Release; /** * If false, releases will not be sorted automatically. * Default is true. */ autoSortReleases: boolean; } /** Parse a markdown string */ export default function parser(markdown: string, options?: Partial): Changelog;