/** * Skill installer — copies the synap skill tree into a target's skills directory. * * Source resolution order: * 1. $SYNAP_SKILLS_DIR (explicit override) or an adjacent ../synap-backend/skills/ * checkout (monorepo dev mode) — both are local disk, dev escape hatches. * 2. the connected pod — GET /api/hub/skills/system (pod-first: production * users get whatever skill packages their pod actually serves, not a * snapshot baked into this CLI's npm release). * 3. bundled skills/ inside this package (production / published npm, * offline, or pod unreachable). * * If none resolve, prints a manual install command and returns false. */ /** Last-resort constant — only used when no manifest.json can be found on * disk (dev or bundled) AND the pod is unreachable/unconfigured. */ export declare const SKILL_NAMES: readonly ["synap", "synap-schema", "synap-ui"]; export type SkillName = (typeof SKILL_NAMES)[number]; /** * Baseline skills are safe to install into every agent context. Workflow * packages are intentionally loaded only when the target/user asks for them; * installing them by default turns progressive teaching back into prompt bulk. */ export declare function getDeliverableSkills(): string[]; export interface InstallOpts { destDir: string; skills?: readonly string[]; } export declare function installSkills(opts: InstallOpts): Promise;