import type { CommandDescriptor } from './types.ts'; /** Mirrors git check-ref-format: refnames are untrusted input, and a * malformed one would either compute a wrong range or break rev-parse. * * Empirical references (git 2.55.0.windows.3, `git check-ref-format `): * - `foo./bar` → valid (only the whole ref may not end with a dot) * - `feature/-lead` → valid (leading dashes are legal components) * - `foo.lock`, `foo.Lock` → invalid on this git build. The man page only * documents ".lock", so the case-insensitive match here is intentional, * fail-closed strictness rather than a documented git rule. * * We intentionally do NOT require a slash — GitHub allows onelevel branches * like `main`. Leading dashes are safe because refs are always passed through * originRef() (never parsed as a flag). */ export declare function isValidRefname(name: string): boolean; export declare const command: CommandDescriptor; export declare function prSync(args: string[]): Promise; //# sourceMappingURL=prSync.d.ts.map