import type { SkillsDiscoveryMode } from "../config/types.skills.js";
export interface SkillsJitBlocksOptions {
    discoveryMode: SkillsDiscoveryMode | undefined;
    anchorList: string[] | undefined;
    /** User's message for the current turn; used for auto-inject keyword match. */
    userMessage?: string;
    workspaceDir?: string;
    /** Sub-agents (minimal mode) skip JIT — they have a curated tool set already. */
    minimalMode: boolean;
}
/**
 * Build the anchor list block. Returns "" when no anchor list configured
 * or in preload mode (anchor list adds value only in jit/hybrid).
 */
export declare function buildAnchorListBlock(opts: {
    discoveryMode: SkillsDiscoveryMode | undefined;
    anchorList: string[] | undefined;
    workspaceDir?: string;
    minimalMode: boolean;
}): string;
/**
 * Build the auto-injected matches block based on the user message triggers.
 * Returns "" when discoveryMode doesn't ask for it, no message available,
 * no matches found, or in minimal mode.
 */
export declare function buildAutoInjectBlock(opts: SkillsJitBlocksOptions): string;
/** Convenience: build both blocks concatenated. */
export declare function buildSkillsJitBlocks(opts: SkillsJitBlocksOptions): string;
