import { type GitHubRepo } from "./registry-catalog.js"; export type SubmitResult = { kind: "submitted"; url: string; number: number; authoredBy: string; authoredAs: "user" | "bot"; repo: string; } | { kind: "auth_required"; verification_uri: string; user_code: string; expires_in: number; } | { /** A tracker refused the post: issues disabled, private, or bot absent. */ kind: "repo_unavailable"; repo: string; status: number; message: string; } | { /** * The anonymous path itself is off: no signing endpoint reachable, none * configured on the deployment, or the caller is rate limited. The report * is intact and can still be filed as the user or opened manually. */ kind: "bot_unavailable"; code: "unreachable" | "not_configured" | "rate_limited" | "rejected"; message: string; /** Seconds to wait, when the endpoint said "later". */ retryAfter?: number; }; export declare function submitFeedback(title: string, body: string, labels?: string[], options?: { useBot?: boolean; repo?: GitHubRepo; }): Promise;