export declare function isGhInstalled(): boolean; export declare function getOpenBrowserCommand(url: string, platform?: NodeJS.Platform): [string, string[]]; export declare function openBrowser(url: string): void; /** * Create a GitHub issue via `gh issue create`. Returns the issue URL on * success or null on failure. * * Uses spawnSync with argv array instead of execSync with a shell string — * avoids shell metacharacter injection when `title` or `repo` contain * backticks, `$(...)`, or `;`. Even though `JSON.stringify` quotes the title, * the outer command runs through a shell which reinterprets backticks inside * double-quoted strings. spawnSync with shell: false (default) passes argv * directly to execve without any shell involvement. */ export declare function createGitHubIssue(repo: string, title: string, body: string): { url: string | null; stderr?: string; }; //# sourceMappingURL=github.d.ts.map