/**
 * markdown-loader — prototype SKILL.md parser.
 *
 * Parses frontmatter (YAML-subset, no external dep) + markdown body.
 * Returns a typed SkillManifest validated against a Zod schema.
 *
 * Constraint: no new npm deps — uses only node:fs/promises + zod (already in pkg).
 *
 * @poc-jetable
 */
import { z } from "zod";
export declare const SkillManifestSchema: z.ZodObject<{
    /** kebab-case, 1-64 chars */
    name: z.ZodString;
    /** 1-1024 chars */
    description: z.ZodString;
    /** Space-separated tool grant list, e.g. "Bash(curl:*) Read" */
    "allowed-tools": z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodObject<{
        version: z.ZodDefault<z.ZodString>;
        category: z.ZodOptional<z.ZodString>;
        tags: z.ZodOptional<z.ZodString>;
        "model-hint": z.ZodOptional<z.ZodString>;
        "env-required": z.ZodOptional<z.ZodString>;
        "env-mode": z.ZodDefault<z.ZodEnum<["all", "at-least-one"]>>;
    }, "strict", z.ZodTypeAny, {
        version: string;
        "env-mode": "all" | "at-least-one";
        category?: string | undefined;
        tags?: string | undefined;
        "model-hint"?: string | undefined;
        "env-required"?: string | undefined;
    }, {
        category?: string | undefined;
        tags?: string | undefined;
        version?: string | undefined;
        "model-hint"?: string | undefined;
        "env-required"?: string | undefined;
        "env-mode"?: "all" | "at-least-one" | undefined;
    }>>;
}, "strict", z.ZodTypeAny, {
    name: string;
    description: string;
    metadata?: {
        version: string;
        "env-mode": "all" | "at-least-one";
        category?: string | undefined;
        tags?: string | undefined;
        "model-hint"?: string | undefined;
        "env-required"?: string | undefined;
    } | undefined;
    "allowed-tools"?: string | undefined;
}, {
    name: string;
    description: string;
    metadata?: {
        category?: string | undefined;
        tags?: string | undefined;
        version?: string | undefined;
        "model-hint"?: string | undefined;
        "env-required"?: string | undefined;
        "env-mode"?: "all" | "at-least-one" | undefined;
    } | undefined;
    "allowed-tools"?: string | undefined;
}>;
export type SkillManifest = z.infer<typeof SkillManifestSchema>;
export interface ParsedSkillFile {
    manifest: SkillManifest;
    body: string;
}
/**
 * Parse a SKILL.md file at `filePath`.
 * Extracts frontmatter (between --- delimiters) and validates with Zod.
 * Returns typed manifest + raw markdown body.
 */
export declare function loadSkillMd(filePath: string): Promise<ParsedSkillFile>;
//# sourceMappingURL=markdown-loader.d.ts.map