/**
 * Skill linter. Validates a bundle-form skill straight from disk and returns
 * a structured report. Two surfaces consume this:
 *
 *   - `/skills check <name>` (user-facing slash command)
 *   - the `check_skill` built-in tool (model-facing, used by the
 *     `/skills create` self-correction loop)
 *
 * The heavy lifting is delegated to the same parsers the loaders use at boot
 * (`BundleLoader.checkBundle`), so a clean check here means the bundle will
 * load. On top of the loader's hard errors, this module adds a few advisory
 * warnings for shapes that parse but won't behave as the author expects
 * (empty bundle, scoped tools with no agent, an un-edited scaffold).
 */
export interface SkillCheckIssue {
    severity: 'error' | 'warning';
    /** Project-relative path to the offending file, when known. */
    filePath?: string;
    message: string;
}
export interface SkillCheckReport {
    name: string;
    /** Project-relative bundle path. */
    bundlePath: string;
    /** False when the bundle directory does not exist. */
    found: boolean;
    /** True when the bundle was found and has zero error-severity issues. */
    ok: boolean;
    issues: SkillCheckIssue[];
    /** Human summary of members, e.g. "2 commands, 1 agent, 3 tools". */
    memberSummary: string;
}
/**
 * Lint a bundle skill under `<projectRoot>/.nanocoder/skills/<name>/`.
 */
export declare function checkSkillBundle(projectRoot: string, name: string): Promise<SkillCheckReport>;
/**
 * Render a report as plain text. Used by the `check_skill` tool so the model
 * can read the result and self-correct.
 */
export declare function formatSkillCheckReport(report: SkillCheckReport): string;
//# sourceMappingURL=check.d.ts.map