/** * Runner for CiteFlowApp * * Provides the public API for running the cite flow. */ import type { CslItem } from "../../../core/csl-json/types.js"; import type { SearchResult } from "../../search/types.js"; import { type SelectOption } from "../components/index.js"; import { type CiteFlowResult } from "./CiteFlowApp.js"; /** * Configuration for the cite flow */ export interface CiteFlowConfig { /** Maximum number of results to display */ limit: number; } /** * Search function type for filtering references */ export type SearchFunction = (query: string) => SearchResult[]; /** * Options for running the cite flow */ export interface RunCiteFlowOptions { /** All references available for selection */ allReferences: CslItem[]; /** Search function for filtering */ searchFn: SearchFunction; /** Flow configuration */ config: CiteFlowConfig; /** Style options for style selection */ styleOptions: SelectOption[]; /** Whether to show style selection */ showStyleSelect: boolean; } /** * Run the cite flow (reference selection → style selection if needed) * * This is the main entry point for interactive cite command. */ export declare function runCiteFlow(options: RunCiteFlowOptions): Promise; //# sourceMappingURL=runCiteFlow.d.ts.map