import { type TaskContext } from "@renderinc/sdk/workflows"; import { type GitHubDeps } from "./client.js"; import type { CreateBranchInput, CreateBranchResult } from "./types.js"; /** * Raw implementation of github.createBranch. Resolves the base branch head * (the repository default branch when `from` is omitted) and creates the ref. * Convergent: if the branch already exists, returns its current head with * `created: false` instead of throwing, so a durable retry never fails on its * own earlier success. */ export declare function createBranchImpl(ctx: TaskContext, input: CreateBranchInput, deps?: GitHubDeps): Promise; /** Create a branch off a base branch (find-or-create; existing branches are reused). */ export declare const createBranch: import("@renderinc/sdk/workflows").TaskDefinition<[input: CreateBranchInput, deps?: GitHubDeps | undefined], CreateBranchResult>; //# sourceMappingURL=createBranch.d.ts.map