/** Executor type for dependency injection (testability). */ export type CommandExecutor = (cmd: string, args: string[]) => Promise<{ stdout: string; stderr: string; }>; /** * Find an existing open issue with the given label. * Returns the issue number or null if none found / gh unavailable. */ export declare function findExistingIssue(repo: string, label: string, exec?: CommandExecutor): Promise; /** * Create a new issue or comment on an existing one. * Uses --body-file to avoid shell injection. * Returns the issue number. */ export declare function createOrUpdateIssue(options: { repo: string; title: string; body: string; labels: string[]; exec?: CommandExecutor; }): Promise;