/** * `opensip graph lookup ` — read-only catalog query. * * Loads the persisted catalog from the datastore and prints every * FunctionOccurrence whose `simpleName` matches ``. Companion to * the file-level symbol lookup that codeindex exposes; ours operates * on functions and uses the existing catalog as the source of truth. * * If no catalog has been built yet, exits with CONFIGURATION_ERROR and * a clear "run `opensip graph` first" message — this command * never triggers an analysis run. */ import { type CommandResult } from '@opensip-cli/contracts'; import type { ToolCliContext } from '@opensip-cli/core'; export interface LookupCommandOptions { readonly name: string; readonly json?: boolean; } /** * Run `graph lookup ` and return a {@link CommandResult}: a * `command-result` lookup payload when `opts.json` is set, otherwise a * `graph-status` human view. The host stamps the outcome and exit code. * * @throws {ConfigurationError} when no DataStore is bound to the context, or no * graph catalog has been built yet (run `opensip graph` first). * @throws {SystemError} when an unexpected (non-`ToolError`) failure occurs * while loading or querying the catalog. */ export declare function executeLookup(opts: LookupCommandOptions, cli: ToolCliContext): CommandResult; //# sourceMappingURL=lookup.d.ts.map