import { type PapershelfConfig } from '../config.js'; import { type FormatSearchResultsOptions } from '../search/format.js'; import { type SearchCorpusOptions, type SearchProvider } from '../search/search-corpus.js'; import { type OpenVectorStoreOptions, type VectorStore } from '../storage/libsql-store.js'; import type { CliResult, CommandContext, PapershelfPaths, SearchOutputFormat, SearchResult } from '../types.js'; export type SearchCommandDependencies = { resolvePaths(cwd: string): PapershelfPaths; loadConfig(env: Readonly): PapershelfConfig; createProvider(config: PapershelfConfig): SearchProvider; openStore(options: OpenVectorStoreOptions): Promise; searchCorpus(options: SearchCorpusOptions): Promise; formatSearchResults(results: readonly SearchResult[], options: FormatSearchResultsOptions): string; }; export type SearchCommandOptions = { context: CommandContext; question: string; format: SearchOutputFormat; dependencies?: Partial; }; export declare function runSearchCommand(options: SearchCommandOptions): Promise;