import type { ResolvedSkillSelection } from "../types/skill-selection.js"; import { type SelectionResolverOptions } from "./selection-resolver.js"; export interface SkillContextInput { prompt?: string; cwd?: string; sessionId?: string; profileId?: string; restore?: boolean; agentId?: string; skills?: string[]; paths?: string[]; } export interface SkillContextOptions extends SelectionResolverOptions { maxChars?: number; maxSkills?: number; } export interface ContextSelectionReceipt extends ResolvedSkillSelection { reason: string; } export interface SkillContextResult { context: string; selections: ContextSelectionReceipt[]; omitted: Array<{ slug: string; version: string; reason: string; loadCommand: string; }>; receipt: { schemaVersion: 1; id: string; profileId: string; profileRevision: string; authority: string; workspaceId: string; source: "api" | "verified-cache"; sessionId?: string; restored: boolean; chars: number; selections: ContextSelectionReceipt[]; }; } export declare function buildSkillContext(input: SkillContextInput, options?: SkillContextOptions): Promise;