import type { FeedbackType } from './feedback-types.js'; export declare const MAX_URL_BODY_LENGTH = 500; export declare const GITHUB_REPO = "csuzngjh/principles"; export type GithubUrlResult = { ok: true; url: string; } | { ok: false; error: string; nextAction: string; }; /** * Build a `https://github.com//issues/new?...` URL containing a redacted * title and a short summary as the body. Body is bounded to MAX_URL_BODY_LENGTH. * * ERR-014/016: body is truncated to MAX_URL_BODY_LENGTH before encoding so the * decoded body never exceeds the bound. Newlines inside the body are encoded * as %0A by `encodeURIComponent`, preserving the markdown structure. */ export declare function buildGitHubIssueDraftUrl(title: string, type: FeedbackType | unknown, shortSummary: string): GithubUrlResult; //# sourceMappingURL=render-github-url.d.ts.map