/**
 * SFRA (Storefront Reference Architecture) detection pattern.
 *
 * NOTE: This pattern is NOT included in DEFAULT_PATTERNS.
 * The simpler `cartridgesPattern` is used instead, which detects any cartridge project.
 * This pattern is exported for custom detection scenarios where SFRA-specific
 * detection is needed.
 *
 * @module discovery/patterns/sfra
 */
import type { DetectionPattern } from '../types.js';
/**
 * Detection pattern for SFRA projects.
 *
 * Detects SFRA workspaces by checking for:
 * 1. A cartridge named `app_storefront_base` - the core SFRA cartridge that serves as the
 *    foundation for SFRA-based storefronts. Per Salesforce documentation, this cartridge
 *    is essential and should not be renamed. (Primary detection method)
 * 2. A package.json with `paths.base` containing `app_storefront_base` - used in multi-repo
 *    setups with sgmf-scripts where the SFRA base cartridge is external to the project.
 *    (Secondary heuristic, less common)
 *
 * @see https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-customizing-sfra.html
 *
 * @example
 * ```
 * // Use in custom detection
 * import { sfraPattern } from '@salesforce/b2c-tooling-sdk/discovery';
 *
 * const customPatterns = [sfraPattern, ...otherPatterns];
 * const result = await detectWorkspaceType(workspacePath, { patterns: customPatterns });
 * ```
 */
export declare const sfraPattern: DetectionPattern;
