/** * PWA Kit v3 project detection pattern. * * @module discovery/patterns/pwa-kit-v3 */ import type { DetectionPattern } from '../types.js'; import type { PackageJson } from '../utils.js'; /** * Returns true if this package.json indicates a PWA Kit v3 project. * * Two flavors: * - Template copy: has an `@salesforce/pwa-kit-*` package * - Extensible: has `@salesforce/retail-react-app` or the `ccExtensibility` field * * Exported so other patterns (e.g. storefront-next) can treat a PWA Kit signal * as a disambiguator without duplicating this logic. */ export declare function packageIndicatesPwaKit(pkg: PackageJson): boolean; /** * Detection pattern for PWA Kit v3 storefronts. * * Detects projects that have PWA Kit v3 SDK dependencies in package.json. * Supports two flavors: * - Template copy: Has @salesforce/pwa-kit-* packages * - Extensible: Has @salesforce/retail-react-app or ccExtensibility field */ export declare const pwaKitV3Pattern: DetectionPattern;