/** * Create a new branch, commit files, push, and open a pull request. * Used for docspec overwrite (no LLM) and can be referenced by prompts for LLM-driven PRs. */ /** * Create a branch name slug from a markdown path (e.g. README.md -> readme, docs/deploy.md -> docs-deploy). */ export declare function branchSlugFromMarkdownPath(mdPath: string): string; export interface CreatePROptions { /** Repo root (default process.cwd()). */ repoRoot?: string; /** Path(s) to add and commit (repo-relative). */ paths: string[]; /** Branch name prefix (default "docspec/"). */ branchPrefix?: string; /** Optional slug for branch name (e.g. "readme" for README.md). */ branchSlug?: string; /** Commit message. */ commitMessage: string; /** PR title. */ prTitle: string; /** PR body (optional). */ prBody?: string; } /** * Create a new branch, add and commit the given paths, push, and open a PR with gh. * Throws if not in a git repo, if gh is not available, or if any git/gh command fails. */ export declare function createBranchCommitAndOpenPR(options: CreatePROptions): void; //# sourceMappingURL=pr.d.ts.map