import { z } from 'zod'; import { ServiceBubble } from '../../types/service-bubble-class.js'; import type { BubbleContext } from '../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; declare const GithubParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_file">; owner: z.ZodString; repo: z.ZodString; path: z.ZodString; ref: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { path: string; operation: "get_file"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }, { path: string; operation: "get_file"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_directory">; owner: z.ZodString; repo: z.ZodString; path: z.ZodDefault>; ref: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { path: string; operation: "get_directory"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }, { operation: "get_directory"; owner: string; repo: string; path?: string | undefined; credentials?: Partial> | undefined; ref?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pull_requests">; owner: z.ZodString; repo: z.ZodString; state: z.ZodDefault>>; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "popularity" | "long-running"; operation: "list_pull_requests"; page: number; owner: string; state: "all" | "open" | "closed"; repo: string; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; }, { operation: "list_pull_requests"; owner: string; repo: string; sort?: "created" | "updated" | "popularity" | "long-running" | undefined; credentials?: Partial> | undefined; page?: number | undefined; state?: "all" | "open" | "closed" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_pull_request">; owner: z.ZodString; repo: z.ZodString; pull_number: z.ZodNumber; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_pull_request"; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }, { operation: "get_pull_request"; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_pr_comment">; owner: z.ZodString; repo: z.ZodString; pull_number: z.ZodNumber; body: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_pr_comment"; body: string; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }, { operation: "create_pr_comment"; body: string; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_repositories">; visibility: z.ZodDefault>>; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "full_name" | "pushed"; operation: "list_repositories"; page: number; visibility: "public" | "private" | "all"; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; }, { operation: "list_repositories"; sort?: "created" | "updated" | "full_name" | "pushed" | undefined; credentials?: Partial> | undefined; page?: number | undefined; visibility?: "public" | "private" | "all" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_repository">; owner: z.ZodString; repo: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_repository"; owner: string; repo: string; credentials?: Partial> | undefined; }, { operation: "get_repository"; owner: string; repo: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue_comment">; owner: z.ZodString; repo: z.ZodString; issue_number: z.ZodNumber; body: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_issue_comment"; body: string; owner: string; repo: string; issue_number: number; credentials?: Partial> | undefined; }, { operation: "create_issue_comment"; body: string; owner: string; repo: string; issue_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue">; owner: z.ZodString; repo: z.ZodString; title: z.ZodString; body: z.ZodOptional; labels: z.ZodOptional>; assignees: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_issue"; owner: string; repo: string; credentials?: Partial> | undefined; body?: string | undefined; labels?: string[] | undefined; assignees?: string[] | undefined; }, { title: string; operation: "create_issue"; owner: string; repo: string; credentials?: Partial> | undefined; body?: string | undefined; labels?: string[] | undefined; assignees?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_issues">; owner: z.ZodString; repo: z.ZodString; state: z.ZodDefault>>; labels: z.ZodOptional; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "comments"; operation: "list_issues"; page: number; owner: string; state: "all" | "open" | "closed"; repo: string; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; labels?: string | undefined; }, { operation: "list_issues"; owner: string; repo: string; sort?: "created" | "updated" | "comments" | undefined; credentials?: Partial> | undefined; page?: number | undefined; labels?: string | undefined; state?: "all" | "open" | "closed" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>]>; declare const GithubResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_file">; success: z.ZodBoolean; error: z.ZodString; } & { name: z.ZodOptional; path: z.ZodOptional; sha: z.ZodOptional; size: z.ZodOptional; url: z.ZodOptional; html_url: z.ZodOptional; git_url: z.ZodOptional; download_url: z.ZodOptional>; type: z.ZodOptional>; content: z.ZodOptional>; encoding: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_file"; path?: string | undefined; type?: "file" | "dir" | "symlink" | "submodule" | undefined; name?: string | undefined; content?: string | undefined; url?: string | undefined; size?: number | undefined; sha?: string | undefined; html_url?: string | undefined; git_url?: string | undefined; download_url?: string | null | undefined; encoding?: string | undefined; }, { error: string; success: boolean; operation: "get_file"; path?: string | undefined; type?: "file" | "dir" | "symlink" | "submodule" | undefined; name?: string | undefined; content?: string | undefined; url?: string | undefined; size?: number | undefined; sha?: string | undefined; html_url?: string | undefined; git_url?: string | undefined; download_url?: string | null | undefined; encoding?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_directory">; success: z.ZodBoolean; error: z.ZodString; contents: z.ZodOptional; type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>; content: z.ZodOptional; encoding: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }, { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_directory"; contents?: { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "get_directory"; contents?: { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pull_requests">; success: z.ZodBoolean; error: z.ZodString; pull_requests: z.ZodOptional; title: z.ZodString; body: z.ZodNullable; created_at: z.ZodString; updated_at: z.ZodString; closed_at: z.ZodNullable; merged_at: z.ZodNullable; user: z.ZodObject<{ login: z.ZodString; id: z.ZodNumber; avatar_url: z.ZodString; }, "strip", z.ZodTypeAny, { id: number; avatar_url: string; login: string; }, { id: number; avatar_url: string; login: string; }>; html_url: z.ZodString; draft: z.ZodBoolean; head: z.ZodObject<{ ref: z.ZodString; sha: z.ZodString; }, "strip", z.ZodTypeAny, { sha: string; ref: string; }, { sha: string; ref: string; }>; base: z.ZodObject<{ ref: z.ZodString; sha: z.ZodString; }, "strip", z.ZodTypeAny, { sha: string; ref: string; }, { sha: string; ref: string; }>; merged: z.ZodOptional; mergeable: z.ZodOptional>; mergeable_state: z.ZodOptional; comments: z.ZodOptional; review_comments: z.ZodOptional; commits: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; changed_files: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }, { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pull_requests"; pull_requests?: { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_pull_requests"; pull_requests?: { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_pull_request">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; number: z.ZodOptional; state: z.ZodOptional>; title: z.ZodOptional; body: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; closed_at: z.ZodOptional>; merged_at: z.ZodOptional>; user: z.ZodOptional>; html_url: z.ZodOptional; draft: z.ZodOptional; head: z.ZodOptional>; base: z.ZodOptional>; merged: z.ZodOptional>; mergeable: z.ZodOptional>>; mergeable_state: z.ZodOptional>; comments: z.ZodOptional>; review_comments: z.ZodOptional>; commits: z.ZodOptional>; additions: z.ZodOptional>; deletions: z.ZodOptional>; changed_files: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_pull_request"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; avatar_url: string; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; draft?: boolean | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; merged_at?: string | null | undefined; head?: { sha: string; ref: string; } | undefined; base?: { sha: string; ref: string; } | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }, { error: string; success: boolean; operation: "get_pull_request"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; avatar_url: string; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; draft?: boolean | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; merged_at?: string | null | undefined; head?: { sha: string; ref: string; } | undefined; base?: { sha: string; ref: string; } | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_pr_comment">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; body: z.ZodOptional; user: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; html_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_pr_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }, { error: string; success: boolean; operation: "create_pr_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_repositories">; success: z.ZodBoolean; error: z.ZodString; repositories: z.ZodOptional; html_url: z.ZodString; description: z.ZodNullable; fork: z.ZodBoolean; created_at: z.ZodString; updated_at: z.ZodString; pushed_at: z.ZodString; size: z.ZodNumber; stargazers_count: z.ZodNumber; watchers_count: z.ZodNumber; language: z.ZodNullable; forks_count: z.ZodNumber; open_issues_count: z.ZodNumber; default_branch: z.ZodString; visibility: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }, { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_repositories"; repositories?: { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_repositories"; repositories?: { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_repository">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; name: z.ZodOptional; full_name: z.ZodOptional; private: z.ZodOptional; owner: z.ZodOptional>; html_url: z.ZodOptional; description: z.ZodOptional>; fork: z.ZodOptional; created_at: z.ZodOptional; updated_at: z.ZodOptional; pushed_at: z.ZodOptional; size: z.ZodOptional; stargazers_count: z.ZodOptional; watchers_count: z.ZodOptional; language: z.ZodOptional>; forks_count: z.ZodOptional; open_issues_count: z.ZodOptional; default_branch: z.ZodOptional; visibility: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_repository"; description?: string | null | undefined; name?: string | undefined; id?: number | undefined; size?: number | undefined; private?: boolean | undefined; created_at?: string | undefined; visibility?: string | undefined; owner?: { id: number; avatar_url: string; html_url: string; login: string; } | undefined; full_name?: string | undefined; language?: string | null | undefined; html_url?: string | undefined; node_id?: string | undefined; fork?: boolean | undefined; updated_at?: string | undefined; pushed_at?: string | undefined; stargazers_count?: number | undefined; watchers_count?: number | undefined; forks_count?: number | undefined; open_issues_count?: number | undefined; default_branch?: string | undefined; }, { error: string; success: boolean; operation: "get_repository"; description?: string | null | undefined; name?: string | undefined; id?: number | undefined; size?: number | undefined; private?: boolean | undefined; created_at?: string | undefined; visibility?: string | undefined; owner?: { id: number; avatar_url: string; html_url: string; login: string; } | undefined; full_name?: string | undefined; language?: string | null | undefined; html_url?: string | undefined; node_id?: string | undefined; fork?: boolean | undefined; updated_at?: string | undefined; pushed_at?: string | undefined; stargazers_count?: number | undefined; watchers_count?: number | undefined; forks_count?: number | undefined; open_issues_count?: number | undefined; default_branch?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue_comment">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; body: z.ZodOptional; user: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; html_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_issue_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }, { error: string; success: boolean; operation: "create_issue_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; number: z.ZodOptional; state: z.ZodOptional>; title: z.ZodOptional; body: z.ZodOptional>; user: z.ZodOptional>; labels: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; color: string; }, { description: string | null; name: string; id: number; color: string; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; closed_at: z.ZodOptional>; html_url: z.ZodOptional; comments: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_issue"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; labels?: { description: string | null; name: string; id: number; color: string; }[] | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; }, { error: string; success: boolean; operation: "create_issue"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; labels?: { description: string | null; name: string; id: number; color: string; }[] | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_issues">; success: z.ZodBoolean; error: z.ZodString; issues: z.ZodOptional; title: z.ZodString; body: z.ZodNullable; user: z.ZodObject<{ login: z.ZodString; id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; login: string; }, { id: number; login: string; }>; labels: z.ZodArray; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; color: string; }, { description: string | null; name: string; id: number; color: string; }>, "many">; created_at: z.ZodString; updated_at: z.ZodString; closed_at: z.ZodNullable; html_url: z.ZodString; comments: z.ZodNumber; }, "strip", z.ZodTypeAny, { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }, { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_issues"; issues?: { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }[] | undefined; }, { error: string; success: boolean; operation: "list_issues"; issues?: { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }[] | undefined; }>]>; export type GithubParamsInput = z.input; type GithubParams = z.input; type GithubResult = z.output; export type GithubGetFileParams = Extract; export type GithubGetDirectoryParams = Extract; export type GithubListPullRequestsParams = Extract; export type GithubGetPullRequestParams = Extract; export type GithubCreatePrCommentParams = Extract; export type GithubListRepositoriesParams = Extract; export type GithubGetRepositoryParams = Extract; export type GithubCreateIssueCommentParams = Extract; export type GithubCreateIssueParams = Extract; export type GithubListIssuesParams = Extract; export type GithubOperationResult = Extract; export declare class GithubBubble extends ServiceBubble> { static readonly type: "service"; static readonly service = "github"; static readonly authType: "apikey"; static readonly bubbleName = "github"; static readonly schema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_file">; owner: z.ZodString; repo: z.ZodString; path: z.ZodString; ref: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { path: string; operation: "get_file"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }, { path: string; operation: "get_file"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_directory">; owner: z.ZodString; repo: z.ZodString; path: z.ZodDefault>; ref: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { path: string; operation: "get_directory"; owner: string; repo: string; credentials?: Partial> | undefined; ref?: string | undefined; }, { operation: "get_directory"; owner: string; repo: string; path?: string | undefined; credentials?: Partial> | undefined; ref?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pull_requests">; owner: z.ZodString; repo: z.ZodString; state: z.ZodDefault>>; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "popularity" | "long-running"; operation: "list_pull_requests"; page: number; owner: string; state: "all" | "open" | "closed"; repo: string; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; }, { operation: "list_pull_requests"; owner: string; repo: string; sort?: "created" | "updated" | "popularity" | "long-running" | undefined; credentials?: Partial> | undefined; page?: number | undefined; state?: "all" | "open" | "closed" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_pull_request">; owner: z.ZodString; repo: z.ZodString; pull_number: z.ZodNumber; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_pull_request"; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }, { operation: "get_pull_request"; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_pr_comment">; owner: z.ZodString; repo: z.ZodString; pull_number: z.ZodNumber; body: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_pr_comment"; body: string; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }, { operation: "create_pr_comment"; body: string; owner: string; repo: string; pull_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_repositories">; visibility: z.ZodDefault>>; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "full_name" | "pushed"; operation: "list_repositories"; page: number; visibility: "public" | "private" | "all"; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; }, { operation: "list_repositories"; sort?: "created" | "updated" | "full_name" | "pushed" | undefined; credentials?: Partial> | undefined; page?: number | undefined; visibility?: "public" | "private" | "all" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_repository">; owner: z.ZodString; repo: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_repository"; owner: string; repo: string; credentials?: Partial> | undefined; }, { operation: "get_repository"; owner: string; repo: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue_comment">; owner: z.ZodString; repo: z.ZodString; issue_number: z.ZodNumber; body: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "create_issue_comment"; body: string; owner: string; repo: string; issue_number: number; credentials?: Partial> | undefined; }, { operation: "create_issue_comment"; body: string; owner: string; repo: string; issue_number: number; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue">; owner: z.ZodString; repo: z.ZodString; title: z.ZodString; body: z.ZodOptional; labels: z.ZodOptional>; assignees: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_issue"; owner: string; repo: string; credentials?: Partial> | undefined; body?: string | undefined; labels?: string[] | undefined; assignees?: string[] | undefined; }, { title: string; operation: "create_issue"; owner: string; repo: string; credentials?: Partial> | undefined; body?: string | undefined; labels?: string[] | undefined; assignees?: string[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_issues">; owner: z.ZodString; repo: z.ZodString; state: z.ZodDefault>>; labels: z.ZodOptional; sort: z.ZodDefault>>; direction: z.ZodDefault>>; per_page: z.ZodDefault>; page: z.ZodDefault>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { sort: "created" | "updated" | "comments"; operation: "list_issues"; page: number; owner: string; state: "all" | "open" | "closed"; repo: string; direction: "desc" | "asc"; per_page: number; credentials?: Partial> | undefined; labels?: string | undefined; }, { operation: "list_issues"; owner: string; repo: string; sort?: "created" | "updated" | "comments" | undefined; credentials?: Partial> | undefined; page?: number | undefined; labels?: string | undefined; state?: "all" | "open" | "closed" | undefined; direction?: "desc" | "asc" | undefined; per_page?: number | undefined; }>]>; static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"get_file">; success: z.ZodBoolean; error: z.ZodString; } & { name: z.ZodOptional; path: z.ZodOptional; sha: z.ZodOptional; size: z.ZodOptional; url: z.ZodOptional; html_url: z.ZodOptional; git_url: z.ZodOptional; download_url: z.ZodOptional>; type: z.ZodOptional>; content: z.ZodOptional>; encoding: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_file"; path?: string | undefined; type?: "file" | "dir" | "symlink" | "submodule" | undefined; name?: string | undefined; content?: string | undefined; url?: string | undefined; size?: number | undefined; sha?: string | undefined; html_url?: string | undefined; git_url?: string | undefined; download_url?: string | null | undefined; encoding?: string | undefined; }, { error: string; success: boolean; operation: "get_file"; path?: string | undefined; type?: "file" | "dir" | "symlink" | "submodule" | undefined; name?: string | undefined; content?: string | undefined; url?: string | undefined; size?: number | undefined; sha?: string | undefined; html_url?: string | undefined; git_url?: string | undefined; download_url?: string | null | undefined; encoding?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_directory">; success: z.ZodBoolean; error: z.ZodString; contents: z.ZodOptional; type: z.ZodEnum<["file", "dir", "symlink", "submodule"]>; content: z.ZodOptional; encoding: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }, { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_directory"; contents?: { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "get_directory"; contents?: { path: string; type: "file" | "dir" | "symlink" | "submodule"; name: string; url: string; size: number; sha: string; html_url: string; git_url: string; download_url: string | null; content?: string | undefined; encoding?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pull_requests">; success: z.ZodBoolean; error: z.ZodString; pull_requests: z.ZodOptional; title: z.ZodString; body: z.ZodNullable; created_at: z.ZodString; updated_at: z.ZodString; closed_at: z.ZodNullable; merged_at: z.ZodNullable; user: z.ZodObject<{ login: z.ZodString; id: z.ZodNumber; avatar_url: z.ZodString; }, "strip", z.ZodTypeAny, { id: number; avatar_url: string; login: string; }, { id: number; avatar_url: string; login: string; }>; html_url: z.ZodString; draft: z.ZodBoolean; head: z.ZodObject<{ ref: z.ZodString; sha: z.ZodString; }, "strip", z.ZodTypeAny, { sha: string; ref: string; }, { sha: string; ref: string; }>; base: z.ZodObject<{ ref: z.ZodString; sha: z.ZodString; }, "strip", z.ZodTypeAny, { sha: string; ref: string; }, { sha: string; ref: string; }>; merged: z.ZodOptional; mergeable: z.ZodOptional>; mergeable_state: z.ZodOptional; comments: z.ZodOptional; review_comments: z.ZodOptional; commits: z.ZodOptional; additions: z.ZodOptional; deletions: z.ZodOptional; changed_files: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }, { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pull_requests"; pull_requests?: { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_pull_requests"; pull_requests?: { number: number; title: string; id: number; user: { id: number; avatar_url: string; login: string; }; body: string | null; created_at: string; draft: boolean; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; merged_at: string | null; head: { sha: string; ref: string; }; base: { sha: string; ref: string; }; comments?: number | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_pull_request">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; number: z.ZodOptional; state: z.ZodOptional>; title: z.ZodOptional; body: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; closed_at: z.ZodOptional>; merged_at: z.ZodOptional>; user: z.ZodOptional>; html_url: z.ZodOptional; draft: z.ZodOptional; head: z.ZodOptional>; base: z.ZodOptional>; merged: z.ZodOptional>; mergeable: z.ZodOptional>>; mergeable_state: z.ZodOptional>; comments: z.ZodOptional>; review_comments: z.ZodOptional>; commits: z.ZodOptional>; additions: z.ZodOptional>; deletions: z.ZodOptional>; changed_files: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_pull_request"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; avatar_url: string; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; draft?: boolean | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; merged_at?: string | null | undefined; head?: { sha: string; ref: string; } | undefined; base?: { sha: string; ref: string; } | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }, { error: string; success: boolean; operation: "get_pull_request"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; avatar_url: string; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; draft?: boolean | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; merged_at?: string | null | undefined; head?: { sha: string; ref: string; } | undefined; base?: { sha: string; ref: string; } | undefined; merged?: boolean | undefined; mergeable?: boolean | null | undefined; mergeable_state?: string | undefined; review_comments?: number | undefined; commits?: number | undefined; additions?: number | undefined; deletions?: number | undefined; changed_files?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_pr_comment">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; body: z.ZodOptional; user: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; html_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_pr_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }, { error: string; success: boolean; operation: "create_pr_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_repositories">; success: z.ZodBoolean; error: z.ZodString; repositories: z.ZodOptional; html_url: z.ZodString; description: z.ZodNullable; fork: z.ZodBoolean; created_at: z.ZodString; updated_at: z.ZodString; pushed_at: z.ZodString; size: z.ZodNumber; stargazers_count: z.ZodNumber; watchers_count: z.ZodNumber; language: z.ZodNullable; forks_count: z.ZodNumber; open_issues_count: z.ZodNumber; default_branch: z.ZodString; visibility: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }, { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_repositories"; repositories?: { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_repositories"; repositories?: { description: string | null; name: string; id: number; size: number; private: boolean; created_at: string; owner: { id: number; avatar_url: string; html_url: string; login: string; }; full_name: string; language: string | null; html_url: string; node_id: string; fork: boolean; updated_at: string; pushed_at: string; stargazers_count: number; watchers_count: number; forks_count: number; open_issues_count: number; default_branch: string; visibility?: string | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_repository">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; name: z.ZodOptional; full_name: z.ZodOptional; private: z.ZodOptional; owner: z.ZodOptional>; html_url: z.ZodOptional; description: z.ZodOptional>; fork: z.ZodOptional; created_at: z.ZodOptional; updated_at: z.ZodOptional; pushed_at: z.ZodOptional; size: z.ZodOptional; stargazers_count: z.ZodOptional; watchers_count: z.ZodOptional; language: z.ZodOptional>; forks_count: z.ZodOptional; open_issues_count: z.ZodOptional; default_branch: z.ZodOptional; visibility: z.ZodOptional>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_repository"; description?: string | null | undefined; name?: string | undefined; id?: number | undefined; size?: number | undefined; private?: boolean | undefined; created_at?: string | undefined; visibility?: string | undefined; owner?: { id: number; avatar_url: string; html_url: string; login: string; } | undefined; full_name?: string | undefined; language?: string | null | undefined; html_url?: string | undefined; node_id?: string | undefined; fork?: boolean | undefined; updated_at?: string | undefined; pushed_at?: string | undefined; stargazers_count?: number | undefined; watchers_count?: number | undefined; forks_count?: number | undefined; open_issues_count?: number | undefined; default_branch?: string | undefined; }, { error: string; success: boolean; operation: "get_repository"; description?: string | null | undefined; name?: string | undefined; id?: number | undefined; size?: number | undefined; private?: boolean | undefined; created_at?: string | undefined; visibility?: string | undefined; owner?: { id: number; avatar_url: string; html_url: string; login: string; } | undefined; full_name?: string | undefined; language?: string | null | undefined; html_url?: string | undefined; node_id?: string | undefined; fork?: boolean | undefined; updated_at?: string | undefined; pushed_at?: string | undefined; stargazers_count?: number | undefined; watchers_count?: number | undefined; forks_count?: number | undefined; open_issues_count?: number | undefined; default_branch?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue_comment">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; body: z.ZodOptional; user: z.ZodOptional>; created_at: z.ZodOptional; updated_at: z.ZodOptional; html_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_issue_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }, { error: string; success: boolean; operation: "create_issue_comment"; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | undefined; created_at?: string | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_issue">; success: z.ZodBoolean; error: z.ZodString; } & { id: z.ZodOptional; node_id: z.ZodOptional; number: z.ZodOptional; state: z.ZodOptional>; title: z.ZodOptional; body: z.ZodOptional>; user: z.ZodOptional>; labels: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; color: string; }, { description: string | null; name: string; id: number; color: string; }>, "many">>; created_at: z.ZodOptional; updated_at: z.ZodOptional; closed_at: z.ZodOptional>; html_url: z.ZodOptional; comments: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_issue"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; labels?: { description: string | null; name: string; id: number; color: string; }[] | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; }, { error: string; success: boolean; operation: "create_issue"; number?: number | undefined; title?: string | undefined; id?: number | undefined; user?: { id: number; login: string; } | undefined; body?: string | null | undefined; created_at?: string | undefined; labels?: { description: string | null; name: string; id: number; color: string; }[] | undefined; comments?: number | undefined; state?: "open" | "closed" | undefined; html_url?: string | undefined; node_id?: string | undefined; updated_at?: string | undefined; closed_at?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_issues">; success: z.ZodBoolean; error: z.ZodString; issues: z.ZodOptional; title: z.ZodString; body: z.ZodNullable; user: z.ZodObject<{ login: z.ZodString; id: z.ZodNumber; }, "strip", z.ZodTypeAny, { id: number; login: string; }, { id: number; login: string; }>; labels: z.ZodArray; }, "strip", z.ZodTypeAny, { description: string | null; name: string; id: number; color: string; }, { description: string | null; name: string; id: number; color: string; }>, "many">; created_at: z.ZodString; updated_at: z.ZodString; closed_at: z.ZodNullable; html_url: z.ZodString; comments: z.ZodNumber; }, "strip", z.ZodTypeAny, { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }, { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }>, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_issues"; issues?: { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }[] | undefined; }, { error: string; success: boolean; operation: "list_issues"; issues?: { number: number; title: string; id: number; user: { id: number; login: string; }; body: string | null; created_at: string; labels: { description: string | null; name: string; id: number; color: string; }[]; comments: number; state: "open" | "closed"; html_url: string; node_id: string; updated_at: string; closed_at: string | null; }[] | undefined; }>]>; static readonly shortDescription = "GitHub API integration for repository operations"; static readonly longDescription = "\n GitHub API integration for accessing repositories, pull requests, issues, and files.\n \n Features:\n - Get file contents from repositories\n - List and browse directory contents\n - Manage pull requests (list, get details, comment)\n - Manage issues (create, list, comment)\n - List and get repository information\n - Safe read and write operations (no deletions)\n \n Use cases:\n - Code review automation and PR management\n - Repository file access and content retrieval\n - Issue and PR comment automation\n - Repository exploration and documentation\n - CI/CD integration and status checks\n \n Security Features:\n - Personal access token authentication (GitHub PAT)\n - Read and safe write operations (comments, issues)\n - No file deletion or destructive operations\n - Respects repository permissions\n "; static readonly alias = "gh"; constructor(params?: T, context?: BubbleContext); testCredential(): Promise; protected chooseCredential(): string | undefined; protected performAction(context?: BubbleContext): Promise>; private handleGetFile; private handleGetDirectory; private handleListPullRequests; private handleGetPullRequest; private handleCreatePrComment; private handleListRepositories; private handleGetRepository; private handleCreateIssueComment; private handleCreateIssue; private handleListIssues; } export {}; //# sourceMappingURL=github.d.ts.map