import type { SubagentDefinition, UxScaffoldResult } from '../../../types/claude-code-ux.js';
/** Canonical agent slugs managed by SPEC-588. */
declare const AGENT_SLUGS: readonly string[];
/**
 * Parse the frontmatter block from a markdown template to extract SubagentDefinition fields.
 * Returns null if the template has no valid frontmatter.
 */
declare function parseFrontmatter(content: string): Pick<SubagentDefinition, 'name' | 'description' | 'tools'> | null;
/** Resolve the canonical template directory (works after tsc compilation). */
declare function resolveTemplateDir(): string;
/**
 * Scaffold .claude/agents/planu-*.md files for all 4 Planu subagents.
 * Only runs when Claude Code is detected (.claude/ dir exists at projectPath).
 * Idempotent — safe to call multiple times.
 */
export declare function scaffoldPlanuSubagents(projectPath: string): Promise<UxScaffoldResult>;
/** Exported for tests — parses a template's frontmatter. */
export { parseFrontmatter };
/** Exported for tests — returns the 4 canonical agent slugs. */
export { AGENT_SLUGS };
/** Exported for documentation / sync script usage. */
export type { SubagentDefinition };
export { resolveTemplateDir };
//# sourceMappingURL=subagent-publisher.d.ts.map