/**
 * Walk up from startDir looking for .specweave/config.json.
 * Mirrors the shell hook's SW_PROJECT_ROOT walk-up logic.
 *
 * @returns Project root path or null if not found.
 */
export declare function findProjectRoot(startDir?: string): string | null;
/**
 * Returns findProjectRoot() or process.cwd() as fallback.
 */
export declare function getProjectRoot(startDir?: string): string;
