/** * Export Command * * Exports raw CSL-JSON for external tool integration (pandoc, jq, etc.). */ import type { CslItem } from "../../core/csl-json/types.js"; import type { ExecutionContext } from "../execution-context.js"; /** * Options for the export command */ export interface ExportCommandOptions { /** Citation keys or UUIDs to export */ ids?: string[]; /** Interpret identifiers as UUIDs */ uuid?: boolean; /** Export all references */ all?: boolean; /** Export references matching search query */ search?: string; /** Output format */ output?: "json" | "yaml" | "bibtex"; } /** * Result of the export command */ export interface ExportCommandResult { /** Exported items */ items: CslItem[]; /** IDs that were not found */ notFound: string[]; } /** * Execute the export command */ export declare function executeExport(options: ExportCommandOptions, context: ExecutionContext): Promise; /** * Format the export output */ export declare function formatExportOutput(result: ExportCommandResult, options: ExportCommandOptions): string; /** * Get exit code for export command */ export declare function getExportExitCode(result: ExportCommandResult): number; //# sourceMappingURL=export.d.ts.map