/**
 * Pipeline step: Gap analysis (failure modes + remediation plan).
 *
 * Wraps the inline gap-analysis logic from pipeline-action.ts behind
 * the PipelineStep interface. This includes document manifest enrichment
 * and low-scoring judgment extraction.
 *
 * Document resolution uses two sources (layered):
 *   1. TaskSource (from AppContext) — the canonical source of task definitions
 *      including Content Lake, repo-based, and YAML tasks. This is the primary
 *      source for mapping task descriptions to canonical doc slugs.
 *   2. Local task YAML (via resolveMappings) — legacy fallback for tasks not
 *      found via the TaskSource adapter.
 *
 * This is an optional step — failure doesn't stop the pipeline.
 */
import type { AppContext, PipelineState, PipelineStep, StepResult, ValidationIssue } from "../../_vendor/ailf-core/index.d.ts";
export declare class GapAnalysisStep implements PipelineStep {
    readonly name = "gap-analysis";
    readonly optional = true;
    check(ctx: AppContext): ValidationIssue[];
    execute(ctx: AppContext, state?: PipelineState): Promise<StepResult>;
}
