import type { DoctorCheck } from './cli-doctor.js'; /** Literal manifest path for generated binding-source PHP entrypoints. */ export declare const WORKSPACE_BINDING_SERVER_MANIFEST: string; /** Literal manifest path for generated block server PHP entrypoints. */ export declare const WORKSPACE_BLOCK_SERVER_MANIFEST: string; /** Literal manifest path for generated pattern PHP entrypoints. */ export declare const WORKSPACE_PATTERN_MANIFEST: string; /** Relative path to the generated binding editor bundle. */ export declare const WORKSPACE_BINDING_EDITOR_SCRIPT = "build/bindings/index.js"; /** Relative path to the generated binding asset manifest. */ export declare const WORKSPACE_BINDING_EDITOR_ASSET = "build/bindings/index.asset.php"; /** Literal manifest path for generated REST resource PHP entrypoints. */ export declare const WORKSPACE_REST_RESOURCE_MANIFEST: string; /** Literal manifest path for generated post-meta PHP entrypoints. */ export declare const WORKSPACE_POST_META_MANIFEST: string; /** Literal manifest path for generated ability PHP entrypoints. */ export declare const WORKSPACE_ABILITY_MANIFEST: string; /** Relative path to the generated ability editor bundle. */ export declare const WORKSPACE_ABILITY_EDITOR_SCRIPT = "build/abilities/index.js"; /** Relative path to the generated ability asset manifest. */ export declare const WORKSPACE_ABILITY_EDITOR_ASSET = "build/abilities/index.asset.php"; /** Literal manifest path for generated AI feature PHP entrypoints. */ export declare const WORKSPACE_AI_FEATURE_MANIFEST: string; /** Literal manifest path for generated admin view PHP entrypoints. */ export declare const WORKSPACE_ADMIN_VIEW_MANIFEST: string; /** Check whether the workspace bootstrap executes one literal manifest include. */ export declare function workspaceBootstrapHasLiteralManifestInclude(projectDir: string, packageName: string, manifestPath: string): boolean; /** Relative path to the generated admin view editor bundle. */ export declare const WORKSPACE_ADMIN_VIEW_SCRIPT = "build/admin-views/index.js"; /** Relative path to the generated admin view asset manifest. */ export declare const WORKSPACE_ADMIN_VIEW_ASSET = "build/admin-views/index.asset.php"; /** Relative path to the generated admin view stylesheet. */ export declare const WORKSPACE_ADMIN_VIEW_STYLE = "build/admin-views/style-index.css"; /** Relative path to the generated editor plugin bundle. */ export declare const WORKSPACE_EDITOR_PLUGIN_EDITOR_SCRIPT = "build/editor-plugins/index.js"; /** Relative path to the generated editor plugin asset manifest. */ export declare const WORKSPACE_EDITOR_PLUGIN_EDITOR_ASSET = "build/editor-plugins/index.asset.php"; /** Relative path to the generated editor plugin stylesheet. */ export declare const WORKSPACE_EDITOR_PLUGIN_EDITOR_STYLE = "build/editor-plugins/style-index.css"; /** Canonical generated artifact filenames expected in each workspace block directory. */ export declare const WORKSPACE_GENERATED_BLOCK_ARTIFACTS: readonly ['block.json', 'typia.manifest.json', 'typia.schema.json', 'typia-validator.php', 'typia.openapi.json']; /** Pattern for full block names in `namespace/slug` format. */ export declare const WORKSPACE_FULL_BLOCK_NAME_PATTERN: RegExp; /** Resolve project-relative inventory files to canonical manifest targets. */ export declare function resolveWorkspacePhpManifestModulePaths(manifestPath: string, projectRelativePaths: readonly string[]): string[] | null; /** * Validate a generated PHP entrypoint manifest and its literal local targets. */ export declare function isWorkspacePhpEntrypointManifestValid(projectDir: string, manifestPath: string, expectedModulePaths: readonly string[]): boolean; /** * Create a doctor result row with an optional stable diagnostic code. * * @param label Human-readable doctor row label. * @param status Pass, warn, or fail status for the row. * @param detail Detailed remediation or success text for CLI output. * @param code Optional stable machine-readable diagnostic code. * @returns A normalized `DoctorCheck` object for CLI rendering. */ export declare function createDoctorCheck(label: string, status: DoctorCheck['status'], detail: string, code?: string): DoctorCheck; /** * Create the standard workspace-doctor scope row. * * @param status Pass or fail scope status for the doctor run. * @param detail Scope summary describing what diagnostics ran. * @returns A `DoctorCheck` row labelled `Doctor scope`. */ export declare function createDoctorScopeCheck(status: DoctorCheck['status'], detail: string): DoctorCheck; /** * Resolve the expected workspace bootstrap file from a package name. * * @param packageName Package name used to derive the plugin bootstrap basename. * @returns Relative PHP bootstrap filename for the workspace root. */ export declare function getWorkspaceBootstrapRelativePath(packageName: string): string; /** * Resolve the expected workspace bootstrap file inside a project root. * * @param projectDir Absolute workspace root directory. * @param packageName Package name used to derive the plugin bootstrap basename. * @returns Absolute PHP bootstrap file path for the workspace root. */ export declare function resolveWorkspaceBootstrapPath(projectDir: string, packageName: string): string; /** * Verify that every referenced relative file exists inside a workspace. * * @param projectDir Absolute workspace root directory. * @param label Doctor row label for the file set being checked. * @param filePaths Relative file paths to validate. * @returns A passing or failing `DoctorCheck` describing any missing files. */ export declare function checkExistingFiles(projectDir: string, label: string, filePaths: Array): DoctorCheck;