import { type CiDescriptor } from "@allurereport/core-api"; import type { GitFlowContext, LaunchGitContextDto } from "./types.js"; export type ClassifiedPullRequestGitFlowContext = { kind: "pull_request"; context: GitFlowContext; sourceBranch: string; targetBranch: string; }; export type ClassifiedBranchGitFlowContext = { kind: "branch"; context: GitFlowContext; branch: string; }; export type ClassifiedStandaloneGitFlowContext = { kind: "standalone"; context: GitFlowContext; }; export type ClassifiedGitFlowContext = ClassifiedPullRequestGitFlowContext | ClassifiedBranchGitFlowContext | ClassifiedStandaloneGitFlowContext; export declare const projectLaunchGitContext: (classified: ClassifiedGitFlowContext, ci?: CiDescriptor) => LaunchGitContextDto | undefined;