/**
 * Detect Dev Script
 *
 * Pure utility that reads package.json from a directory, scans for common dev
 * scripts (dev, start, serve), and detects the package manager from lockfile
 * presence. Returns the detected command or an error.
 */
export interface DetectDevScriptSuccess {
    success: true;
    packageManager: string;
    scriptName: string;
    command: string;
    needsInstall: boolean;
    /** The directory where package.json was found (may differ from input when scanning subdirs) */
    resolvedDir: string;
}
export interface DetectDevScriptError {
    success: false;
    error: string;
}
export type DetectDevScriptResult = DetectDevScriptSuccess | DetectDevScriptError;
/**
 * Detect the dev script and package manager for a project directory.
 *
 * @param dirPath - Absolute path to the project directory
 * @returns Detection result with command info, or an error
 */
export declare function detectDevScript(dirPath: string): DetectDevScriptResult;
//# sourceMappingURL=detect-dev-script.d.ts.map