import type { DoctorCheck } from './cli-doctor.js'; /** Options used when collecting workspace-scoped doctor rows. */ export interface WorkspaceDoctorChecksOptions { /** Include opt-in WordPress feature floor and plugin header checks. */ wordpressVersionCheck?: boolean; } /** * Collect workspace-scoped doctor checks for the given working directory. * * When the directory is not an official workspace, the function runs supported * standalone single-block diagnostics when that project surface is detected. * Otherwise it returns a "Doctor scope" row explaining that only environment * checks ran, plus a failing workspace metadata row when a nearby candidate * workspace is invalid. * When workspace resolution or metadata parsing throws, the corresponding * failing rows are returned early and the remaining checks are skipped. * When an official workspace is detected, a passing "Doctor scope" row is * emitted first so the remaining package metadata, inventory, source-tree * drift, optional WordPress version checks, and optional migration hint rows * are clearly framed as workspace diagnostics for that run. * * @param cwd Working directory expected to host an official workspace. * @param options Optional feature gates for additional workspace doctor rows. * @param options.wordpressVersionCheck Include WordPress feature floor and plugin header checks. * @returns Ordered workspace check rows ready for CLI rendering. */ export declare function getWorkspaceDoctorChecks(cwd: string, options?: WorkspaceDoctorChecksOptions): Promise;