import type { ProjectFingerprint, DetectedStack } from "./types"; /** * Detect the technology stack of a project by scanning for marker files. * This is a fast, synchronous scan — suitable for fire-and-forget use. */ export declare function detectStack(directory: string): DetectedStack[]; /** * Detect the package manager used by the project. */ export declare function detectPackageManager(directory: string): string | undefined; /** * Detect whether the project is a monorepo. */ export declare function detectMonorepo(directory: string): boolean; /** * Detect the primary language of the project. */ export declare function detectPrimaryLanguage(stack: DetectedStack[]): string | undefined; /** * Generate a complete project fingerprint. */ export declare function generateFingerprint(directory: string): ProjectFingerprint; /** * Generate and persist a project fingerprint. * Fire-and-forget: errors are logged but never thrown. */ export declare function fingerprintProject(directory: string): ProjectFingerprint | null; /** * Get the cached fingerprint, or generate a new one if missing or stale. * Regenerates if the cached fingerprint was generated by a different Weave version. * Fire-and-forget: errors are logged but never thrown. */ export declare function getOrCreateFingerprint(directory: string): ProjectFingerprint | null;