/**
 * CapabilityPackParser — load + validate capability pack YAML manifests.
 *
 * Story 1.1 — OpenLife v1.3 Agent OS Integration.
 *
 * Mirrors WorkflowParser's pattern: never throws on user input, returns
 * `{ ok, pack?, errors[] }` with stable error codes from CAPABILITY_ERRORS.
 *
 * Validation scope (what this parser CAN check):
 *   - YAML well-formedness
 *   - Required scalar fields (id, name, description, version, status, objective)
 *   - Status enum membership (draft|tested|active|deprecated)
 *   - Asset-ref shape (id+source on each item)
 *   - Duplicate asset ids within each kind (agents/skills/squads/workflows)
 *   - Embedded-ref file existence (when given a directory context)
 *
 * Validation scope (what this parser CANNOT check — done by the registry layer):
 *   - Whether `referenced` asset ids resolve in the global agent/skill/squad/workflow registries
 *   - Whether the pack name conflicts with existing packs
 *   These higher-level checks live in CapabilityPackState (Story 1.4).
 */
import { CapabilityParseResult } from './CapabilityPackSchema';
/** Parse a YAML string. Never throws. */
export declare function parseCapabilityPack(yamlContent: string, opts?: {
    packDir?: string;
}): CapabilityParseResult;
/** Parse a YAML file by path. Convenience wrapper. */
export declare function parseCapabilityPackFile(filePath: string): CapabilityParseResult;
