import { BibliographyFormatType, BibliographyRelationshipType } from './meta/types'; import { TypographyInfoType, TypographyReadType, TypographyVariants } from "../../type/typography"; /** * @category content */ export declare class MdsBibliography { private separator; /** * Specifies the bibliography format to rapresent the bibliography content */ readonly format: BibliographyFormatType; /** * Specifies one or more authors, as a string. * First name and Last name: "Jhon Doe", * you can wrap first name or last name to crop them correctly: "'Jhon Arthur' Doe", "'Jhon Arthur' 'Doe Jhonson'", * and for multiple authors, separated by commas, "'Jhon Arthur' 'Doe Jhonson', 'Mike Collins', Erik 'Ross Anderson'", * you can use single or double quotation marks for composite names */ readonly author?: string; /** * Specifies the name of the bibliography */ readonly name?: string; /** * Specifies the publisher of the bibliography */ readonly publisher?: string; /** * Specifies the date of the bibliography * @description It's in ISO format (YYYY-MM-DD). * @example '2025-06-15' */ readonly date?: string; /** * Specifies the location of the bibliography */ readonly location?: string; /** * Specifies relationship between the current document and the URL */ readonly rel: BibliographyRelationshipType; /** * Specifies the font typography of the element */ readonly typography: TypographyInfoType | TypographyReadType; /** * Specifies the variant for `typography` */ readonly variant?: TypographyVariants; /** * Specifies the URL of the bibliography */ readonly url?: string; private monthName; private getDate; private dateFormatAPA; private dateFormatMLA; private fullNameAPA; private fullNameMLA; private formatAuthors; private normalizeAuthors; private showAuthors; /** * The title, in bold italics with its period: a link only with a `url`, and nothing at all * without a `name`. A missing `url` was taken for one (`undefined !== null`), so the title was * always a link without `href`, and a missing `name` left a lone period. */ private renderName; render(): any; }