UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

25 lines • 2.03 kB
import type { GitHubAccount } from '../../../../accessor/github.ts'; import type { PathSpec } from '../../../../types.ts'; import type { CommandFnResult, Context } from '../../../config.ts'; export declare const PR_FIELDS: readonly string[]; /** * `gh pr list`. With `--json` it asks GraphQL for exactly the fields named, * the way gh's PullRequestList does, so every field gh accepts is answered * in gh's own shape; the text view reads the REST listing. */ export declare function listCmd(accessor: GitHubAccount, _paths: PathSpec[], _texts: string[], ctx: Context): Promise<CommandFnResult>; /** * `gh pr view`. With `--json` it reads the fields named over GraphQL, as gh * does (see viewedPull); the text view reads the REST object, and `-c` its * comments. */ export declare function viewCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function createCmd(accessor: GitHubAccount, _paths: PathSpec[], _texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function editCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function mergeCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function closeCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function reopenCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function commentCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function diffCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; export declare function checksCmd(accessor: GitHubAccount, _paths: PathSpec[], texts: string[], ctx: Context): Promise<CommandFnResult>; //# sourceMappingURL=pull.d.ts.map