export declare const INGEST_SOURCE_SKILL = "ingest-source"; export declare const RETIRE_SOURCE_SKILL = "retire-source"; export declare const INGEST_SOURCE_CONTRACT_VERSION = 1; export declare const INGEST_SOURCE_ACTIVATION_TTL_MS: number; export type PipeAgent = 'codex' | 'claude' | 'generic'; export type PipeSkill = typeof INGEST_SOURCE_SKILL | typeof RETIRE_SOURCE_SKILL; export interface SkillReceipt { schema_version: 1; skill: PipeSkill; contract_version: number; digest: string; repo: string; agent: PipeAgent; activated_at: string; } export interface SkillEnvironment { env?: NodeJS.ProcessEnv; homeDir?: string; configDir?: string; now?: Date; } export declare function canonicalIngestSkillPath(repo: string): string; export declare function canonicalSkillPath(repo: string, skill: PipeSkill): string; export declare function pipeSkillDigest(repo: string, skill: PipeSkill): string; export declare function ingestSkillDigest(repo: string): string; export declare function detectPipeAgent(env?: NodeJS.ProcessEnv): PipeAgent | null; export declare function projectSkillPath(repo: string, agent: PipeAgent, skill?: PipeSkill): string; export declare function userSkillPath(agent: PipeAgent, env?: NodeJS.ProcessEnv, homeDir?: string, skill?: PipeSkill): string; export declare function skillReceiptPath(repo: string, environment?: SkillEnvironment, skill?: PipeSkill): string; export declare function installPipeSkills(repo: string, agents: PipeAgent[], skills: PipeSkill[], environment?: SkillEnvironment): Array<{ skill: PipeSkill; path: string; }>; export declare function installIngestSourceSkill(repo: string, agents: PipeAgent[], environment?: SkillEnvironment): string[]; export declare function activatePipeSkill(repo: string, agent: PipeAgent, skill: PipeSkill, environment?: SkillEnvironment): SkillReceipt; export declare function activateIngestSourceSkill(repo: string, agent: PipeAgent, environment?: SkillEnvironment): SkillReceipt; export declare function readPipeSkillReceipt(repo: string, skill: PipeSkill, environment?: SkillEnvironment): SkillReceipt | null; export declare function readIngestSourceSkillReceipt(repo: string, environment?: SkillEnvironment): SkillReceipt | null; export declare function pipeSkillStatus(repo: string, skill: PipeSkill, environment?: SkillEnvironment): { ok: boolean; reason: string; receipt: SkillReceipt | null; }; export declare function ingestSourceSkillStatus(repo: string, environment?: SkillEnvironment): { ok: boolean; reason: string; receipt: SkillReceipt | null; }; export declare function requirePipeSkill(repo: string, skill: PipeSkill): SkillReceipt; export declare function requireIngestSourceSkill(repo: string): SkillReceipt;