import { type DetectorRegistry } from "../detection/index.js";
import type { ProjectType } from "../core/config.js";
import type { StatusProbe } from "./ui-status.js";
/** Probe id for the detected-stacks live-status entry. */
export declare const DETECTED_STACKS_PROBE_ID = "detected-stacks";
/**
 * Detect setup-automation stacks using only bounded, no-follow project reads.
 * This mirrors the authoritative detector signals without invoking their
 * legacy unbounded readers on the setup-readiness request path.
 * @param destDir - Project root
 * @returns Expanded types in canonical detector-registry order
 */
export declare function readConfinedDetectedStacks(destDir: string): Promise<readonly ProjectType[]>;
/**
 * Create the probe that reports the project's detected stacks.
 * @param destDir - Project root scanned by the detector registry
 * @param registry - Injectable detector registry used by focused tests
 * @returns Probe emitting the expanded, ordered project types
 */
export declare function createDetectedStacksProbe(destDir: string, registry?: DetectorRegistry): StatusProbe<string[]>;
//# sourceMappingURL=ui-detected-stacks.d.ts.map