import type { ProjectType } from '@salesforce/b2c-tooling-sdk/discovery'; /** * Human-readable label for each detected workspace/project type, used in the * docs tool descriptions so an agent can see what was auto-detected. */ export declare const PROJECT_TYPE_LABELS: Record; /** * Accepted values for the docs tools' `workspace` parameter. Mirrors the CLI * `--workspace` vocabulary: `auto` uses the auto-detected workspace, `all` * disables the preference, or name a concrete type. */ export declare const WORKSPACE_VALUES: readonly ["auto", "all", "cartridges", "sfra", "pwa-kit-v3", "storefront-next"]; export type WorkspaceParam = (typeof WORKSPACE_VALUES)[number]; /** * Resolves the `workspace` tool parameter into the concrete project type(s) to * pass to the SDK search, given what was auto-detected at server startup. * * - `all` → undefined (no workspace preference) * - `auto` (or unset) → the detected workspace(s), if any * - an explicit type → that type */ export declare function resolveWorkspace(param: undefined | WorkspaceParam, detected: readonly ProjectType[]): ProjectType[] | undefined; /** * Builds a short sentence describing the detected workspace for a tool * description, or an empty string when nothing was detected. */ export declare function detectedWorkspaceNote(detected: readonly ProjectType[]): string;