import "@citation-js/plugin-csl"; import type { CslItem } from "../../core/csl-json/types.js"; /** * Options for CSL citation formatting */ export type CitationFormatOptions = { /** * CSL style name (e.g., 'apa', 'vancouver', 'chicago') * @default 'apa' */ style?: string; /** * Custom CSL style XML content. * When provided, this XML is registered and used instead of built-in styles. */ styleXml?: string; /** * Output format: text, html, or rtf * @default 'text' */ format?: "text" | "html" | "rtf"; /** * Locale code (e.g., 'en-US', 'en-GB') * @default 'en-US' */ locale?: string; }; /** * Format CSL-JSON items as bibliography using CSL processor. * Falls back to simplified format if CSL processing fails. * * @param items - Array of CSL-JSON items * @param options - Formatting options * @returns Formatted bibliography entries */ export declare function formatBibliographyCSL(items: CslItem[], options: CitationFormatOptions): string; /** * Format CSL-JSON items as in-text citations using CSL processor. * Falls back to simplified format if CSL processing fails. * * @param items - Array of CSL-JSON items * @param options - Formatting options * @returns Formatted in-text citation(s) */ export declare function formatInTextCSL(items: CslItem[], options: CitationFormatOptions): string; //# sourceMappingURL=citation-csl.d.ts.map