proposit-core
    Preparing search index...

    Function formatCitationParts

    • Build a structured citation for any IEEE reference type. Returns an array of typed segments that consumers can render into plain text, HTML, or any other format.

      Parameters

      • ref:
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                edition?: string;
                isbn?: string;
                location?: string;
                publisher: string;
                title: string;
                type: "Book";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                accessedDate: Date;
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                pageTitle: string;
                type: "Website";
                url: string;
                websiteTitle: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                bookTitle: string;
                chapterTitle: string;
                editors?: { familyName: string; givenNames: string; suffix?: string }[];
                isbn?: string;
                location: string;
                pages?: string;
                publisher: string;
                type: "BookChapter";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                edition?: string;
                isbn?: string;
                location: string;
                publisher: string;
                title: string;
                type: "Handbook";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                institution: string;
                location: string;
                reportNumber: string;
                title: string;
                type: "TechnicalReport";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                date: Date;
                organization: string;
                standardNumber: string;
                title: string;
                type: "Standard";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                degree: string;
                institution: string;
                location: string;
                title: string;
                type: "Thesis";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                country: string;
                date: Date;
                inventors: { familyName: string; givenNames: string; suffix?: string }[];
                patentNumber: string;
                title: string;
                type: "Patent";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                edition?: string;
                publisher: string;
                title: string;
                type: "Dictionary";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                edition?: string;
                publisher: string;
                title: string;
                type: "Encyclopedia";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                doi?: string;
                issue?: string;
                journalTitle: string;
                pages?: string;
                title: string;
                type: "JournalArticle";
                volume?: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                issue?: string;
                magazineTitle: string;
                pages?: string;
                title: string;
                type: "MagazineArticle";
                volume?: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                date: Date;
                newspaperTitle: string;
                pages?: string;
                title: string;
                type: "NewspaperArticle";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                conferenceName: string;
                date: Date;
                doi?: string;
                location: string;
                pages?: string;
                title: string;
                type: "ConferencePaper";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                conferenceName: string;
                date: Date;
                editors?: { familyName: string; givenNames: string; suffix?: string }[];
                isbn?: string;
                location: string;
                publisher: string;
                type: "ConferenceProceedings";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                doi?: string;
                repository: string;
                title: string;
                type: "Dataset";
                url: string;
                version?: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                doi?: string;
                publisher?: string;
                title: string;
                type: "Software";
                url: string;
                version?: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                accessedDate: Date;
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                publisher?: string;
                title: string;
                type: "OnlineDocument";
                url: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                accessedDate: Date;
                author: { familyName: string; givenNames: string; suffix?: string };
                blogName: string;
                date: Date;
                postTitle: string;
                type: "Blog";
                url: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                author: { familyName: string; givenNames: string; suffix?: string };
                platform: string;
                postDate: Date;
                type: "SocialMedia";
                url: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                authors: { familyName: string; givenNames: string; suffix?: string }[];
                doi?: string;
                server: string;
                title: string;
                type: "Preprint";
                url: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                accessedDate: Date;
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                platform: string;
                releaseDate?: Date;
                title: string;
                type: "Video";
                url: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                accessedDate: Date;
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                episodeTitle: string;
                platform: string;
                seriesTitle: string;
                type: "Podcast";
                url: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                courseCode?: string;
                institution: string;
                instructor: { familyName: string; givenNames: string; suffix?: string };
                term: string;
                title: string;
                type: "Course";
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                date: Date;
                eventTitle: string;
                location: string;
                presenter: { familyName: string; givenNames: string; suffix?: string };
                title: string;
                type: "Presentation";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                date: Date;
                interviewee: { familyName: string; givenNames: string; suffix?: string };
                interviewer?: { familyName: string; givenNames: string; suffix?: string };
                type: "Interview";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                date: Date;
                person: { familyName: string; givenNames: string; suffix?: string };
                type: "PersonalCommunication";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                date: Date;
                recipient: { familyName: string; givenNames: string; suffix?: string };
                sender: { familyName: string; givenNames: string; suffix?: string };
                type: "Email";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & { dateEnacted: Date; jurisdiction: string; title: string; type: "Law" }
            | {
                type:
                    | "Book"
                    | "Website"
                    | "BookChapter"
                    | "Handbook"
                    | "TechnicalReport"
                    | "Standard"
                    | "Thesis"
                    | "Patent"
                    | "Dictionary"
                    | "Encyclopedia"
                    | "JournalArticle"
                    | "MagazineArticle"
                    | "NewspaperArticle"
                    | "ConferencePaper"
                    | "ConferenceProceedings"
                    | "Dataset"
                    | "Software"
                    | "OnlineDocument"
                    | "Blog"
                    | "SocialMedia"
                    | "Preprint"
                    | "Video"
                    | "Podcast"
                    | "Course"
                    | "Presentation"
                    | "Interview"
                    | "PersonalCommunication"
                    | "Email"
                    | "Law"
                    | "CourtCase"
                    | "GovernmentPublication"
                    | "Datasheet"
                    | "ProductManual"
                    | "UnparsedURL";
            } & {
                caseName: string;
                court: string;
                date: Date;
                reporter?: string;
                type: "CourtCase";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                agency: string;
                authors?: { familyName: string; givenNames: string; suffix?: string }[];
                date: Date;
                location: string;
                reportNumber?: string;
                title: string;
                type: "GovernmentPublication";
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                manufacturer: string;
                partNumber: string;
                title: string;
                type: "Datasheet";
                url: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & {
                manufacturer: string;
                model: string;
                title: string;
                type: "ProductManual";
                url?: string;
                year: string;
            }
            | {
                type: | "Book"
                | "Website"
                | "BookChapter"
                | "Handbook"
                | "TechnicalReport"
                | "Standard"
                | "Thesis"
                | "Patent"
                | "Dictionary"
                | "Encyclopedia"
                | "JournalArticle"
                | "MagazineArticle"
                | "NewspaperArticle"
                | "ConferencePaper"
                | "ConferenceProceedings"
                | "Dataset"
                | "Software"
                | "OnlineDocument"
                | "Blog"
                | "SocialMedia"
                | "Preprint"
                | "Video"
                | "Podcast"
                | "Course"
                | "Presentation"
                | "Interview"
                | "PersonalCommunication"
                | "Email"
                | "Law"
                | "CourtCase"
                | "GovernmentPublication"
                | "Datasheet"
                | "ProductManual"
                | "UnparsedURL";
            } & { text?: string; type: "UnparsedURL"; url: string }

      Returns TCitationFormatResult