/** * Project-context scaffolding: detects project type and writes * project-context.json. */ import type { ScaffoldResult } from '@cleocode/contracts/scaffold-diagnostics'; /** * Detect and write project-context.json. * Idempotent: skips if file exists and is less than staleDays old (default: 30). * * @param projectRoot - Absolute path to the project root directory * @param opts - Optional configuration * @param opts.force - When true, regenerate even if the file is fresh * @param opts.staleDays - Age threshold in days before regeneration (default: 30) * @returns Scaffold result indicating the action taken */ export declare function ensureProjectContext(projectRoot: string, opts?: { force?: boolean; staleDays?: number; }): Promise; //# sourceMappingURL=ensure-skills.d.ts.map