import type { DoctorCheck } from './cli-doctor.js'; import type { GeneratedPackageJson } from '../shared/package-json-types.js'; /** Stable codes emitted by standalone-scaffold doctor rows. */ export declare const STANDALONE_DOCTOR_CODES: { readonly ARTIFACTS: 'wp-typia.standalone.generated-artifacts'; readonly BOOTSTRAP: 'wp-typia.standalone.bootstrap'; readonly DEPENDENCIES: 'wp-typia.standalone.dependencies'; readonly PACKAGE: 'wp-typia.standalone.package'; readonly SOURCE_LAYOUT: 'wp-typia.standalone.source-layout'; }; type StandalonePackageJson = GeneratedPackageJson; /** A safely detected type-derived standalone wp-typia block project. */ export interface StandaloneScaffoldProject { packageJson: StandalonePackageJson; packageName: string; projectDir: string; } /** * Resolve the nearest supported type-derived standalone scaffold. * * Detection deliberately combines generated sync/layout signals with wp-typia * dependency signals. Requiring every signal would make a damaged scaffold * fall back to the misleading environment-only scope, while the weighted * threshold avoids treating an arbitrary WordPress package as generated merely * because it contains one similarly named file or dependency. * * @throws {Error} When the nearest package manifest cannot be parsed. */ export declare function tryResolveStandaloneScaffoldProject(startDir: string): StandaloneScaffoldProject | null; /** Collect project-scoped checks for one supported standalone scaffold. */ export declare function getStandaloneScaffoldDoctorChecks(project: StandaloneScaffoldProject): Promise; export {};