import type { ILibrary, IdentifierType } from "../../core/library-interface.js"; /** * Options for citeReferences operation */ export interface CiteOperationOptions { /** Reference IDs or UUIDs to cite */ identifiers: string[]; /** Identifier type: 'id' (default), 'uuid', 'doi', 'pmid', or 'isbn' */ idType?: IdentifierType; /** CSL style name or path to CSL file */ style?: string; /** Path to custom CSL file */ cslFile?: string; /** Default style from config (used when style is not specified) */ defaultStyle?: string; /** Directory or directories to search for custom CSL files */ cslDirectory?: string | string[]; /** Locale for citation formatting (default: "en-US") */ locale?: string; /** Output format (default: "text") */ format?: "text" | "html" | "rtf"; /** If true, generate in-text citation instead of bibliography */ inText?: boolean; } /** * Result for a single citation */ export type CiteItemResult = { success: true; identifier: string; citation: string; } | { success: false; identifier: string; error: string; }; /** * Result of citeReferences operation */ export interface CiteResult { /** Results for each identifier */ results: CiteItemResult[]; } /** * Generate citations for references. * * @param library - The library to cite from * @param options - Citation options including identifiers and style settings * @returns Results array with citation or error for each identifier */ export declare function citeReferences(library: ILibrary, options: CiteOperationOptions): Promise; //# sourceMappingURL=cite.d.ts.map