import type { FeedbackReport, ValidationError } from './feedback-types.js'; import type { PendingAgentDraftStore } from './pending-agent-draft-store.js'; export type CreateReportResult = { ok: true; report: FeedbackReport; } | { ok: false; errors: ValidationError[]; }; /** * Create a FeedbackReport from untrusted input + diagnostics. * No `as` casts on untrusted values. Failure paths return structured errors. * * `maintainerEmail` (optional): when provided as a non-empty string, a * `mailto:` URL is built into `report.outputs.mailtoUrl`. When omitted or * empty, `mailtoUrl` is ''. The email value itself is not validated for * shape — callers decide what address to pass. */ export declare function createFeedbackReport(input: unknown, diagnostics: unknown, maintainerEmail?: string, pendingAgentDraftStore?: PendingAgentDraftStore): CreateReportResult; //# sourceMappingURL=create-report.d.ts.map