import * as z from "zod"; export type GetGithubRepoRequest = { repo: string; }; export declare const GetGithubRepoRequest$zodSchema: z.ZodType; /** * 上游 GitHub API 出错或不可用。响应中会包含来自上游的原始错误信息,便于排查问题。 */ export type GetGithubRepoBadGatewayResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const GetGithubRepoBadGatewayResponseBody$zodSchema: z.ZodType; /** * 请求参数缺失或格式错误。请确保 `repo` 参数已提供且格式为 `owner/repo`。 */ export type GetGithubRepoBadRequestResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const GetGithubRepoBadRequestResponseBody$zodSchema: z.ZodType; export type Collaborator = { login?: string | undefined; name?: string | undefined; email?: string | undefined; url?: string | undefined; }; export declare const Collaborator$zodSchema: z.ZodType; export type Maintainer = { login?: string | undefined; name?: string | undefined; email?: string | undefined; url?: string | undefined; }; export declare const Maintainer$zodSchema: z.ZodType; /** * 仓库最新发布版本信息,如果没有 Release 则为 null。可用于实现应用更新检查功能。 */ export type LatestRelease = { tag_name?: string | undefined; name?: string | undefined; published_at?: string | undefined; html_url?: string | undefined; prerelease?: boolean | undefined; draft?: boolean | undefined; }; export declare const LatestRelease$zodSchema: z.ZodType; /** * 成功获取仓库信息。 */ export type GetGithubRepoResponseBody = { full_name?: string | undefined; description?: string | undefined; homepage?: string | undefined; default_branch?: string | undefined; primary_branch?: string | undefined; default_branch_sha?: string | undefined; visibility?: string | undefined; archived?: boolean | undefined; disabled?: boolean | undefined; fork?: boolean | undefined; language?: string | undefined; topics?: Array | undefined; license?: string | undefined; stargazers?: number | undefined; forks?: number | undefined; open_issues?: number | undefined; watchers?: number | undefined; pushed_at?: string | undefined; created_at?: string | undefined; updated_at?: string | undefined; languages?: { [k: string]: number; } | undefined; collaborators?: Array | null | undefined; maintainers?: Array | undefined; latest_release?: LatestRelease | null | undefined; }; export declare const GetGithubRepoResponseBody$zodSchema: z.ZodType; export type GetGithubRepoResponse = GetGithubRepoResponseBody | GetGithubRepoBadRequestResponseBody | GetGithubRepoBadGatewayResponseBody; export declare const GetGithubRepoResponse$zodSchema: z.ZodType; //# sourceMappingURL=getgithubrepoop.d.ts.map