export type PackageManagerKind = "pnpm" | "npm" | "yarn";
export type ScriptDetection = {
    value: string;
    placeholder: boolean;
};
/** Best-effort repo signals for init planning (failures are non-fatal). */
export type InitProjectDetection = {
    cwdBasename: string;
    hasGit: boolean;
    hasPackageJson: boolean;
    packageJsonName?: string;
    lockfileKind?: PackageManagerKind;
    inferredPackageManager: PackageManagerKind;
    scripts: {
        test: ScriptDetection;
        lint: ScriptDetection;
        typecheck: ScriptDetection;
    };
    githubDefaultBranch: string;
    editorIntegrations: {
        cursor: boolean;
        vscode: boolean;
    };
    warnings: string[];
};
/**
 * Collect lightweight project metadata before attaching Workflow Cannon (non-destructive).
 */
export declare function detectInitProjectContext(cwd: string): Promise<InitProjectDetection>;
