import type { HandoffCliOptions } from '../cli/parser.js'; import type { ContextPackSchemaV1 } from '../contracts/context-pack.js'; import type { HandoffArtifactSchemaV1, HandoffConsumer } from '../contracts/handoff.js'; import type { KnowledgeGraph } from '../contracts/graph.js'; import { type ContextPackCommandDependencies } from './context-pack-command.js'; export interface HandoffArtifactBuildOptions { consumer: HandoffConsumer; artifactRoot: string; projectRoot: string; allowSnippets?: boolean; } export declare function buildHandoffArtifactV1(schema: ContextPackSchemaV1, options: HandoffArtifactBuildOptions): HandoffArtifactSchemaV1; export interface HandoffCommandDependencies extends Partial { loadGraph?: (graphPath: string) => KnowledgeGraph; runContextPackCommand?: (options: { prompt: string; budget: number; task: HandoffCliOptions['task']; graphPath: string; format: 'json'; verbose: true; requireFreshGraph?: boolean; requireFreshContext?: boolean; }) => Promise; } export declare function runHandoffCommand(options: HandoffCliOptions, dependencies?: HandoffCommandDependencies): Promise;