/**
 * Parse a `subscribe:` block from skill YAML into typed `SkillTrigger`s.
 *
 * The same shape appears in three places:
 *   - bundle `skill.yaml` (manifest form - `target` is required)
 *   - command/subagent/tool frontmatter (single-file form - `target` is
 *     implicit `self` and must be omitted)
 *   - manifest member frontmatter inside a bundle (same as single-file)
 *
 * This helper handles parsing and per-entry validation. Target-presence
 * rules (omitted in frontmatter, required in manifest) are enforced by the
 * callers, since they know which surface they are parsing.
 */
import type { SkillTrigger } from '../types/skills.js';
export declare class SubscribeParseError extends Error {
    constructor(message: string);
}
/**
 * Parse a raw YAML value into a list of `SkillTrigger`s.
 *
 * Returns `undefined` when the value is `undefined` or `null` (no block
 * present). Throws `SubscribeParseError` for any structural issue so the
 * caller can decide whether to log-and-skip or hard-error.
 */
export declare function parseSubscribeBlock(raw: unknown): SkillTrigger[] | undefined;
//# sourceMappingURL=parse-subscribe.d.ts.map