import { z } from "zod";
import { type IssueRef } from "../forge/issues.js";
export declare const dispatchIssueSchema: z.ZodUnion<readonly [z.ZodObject<{
    repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
    number: z.ZodNumber;
}, z.core.$strict>, z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<{
    repo: string;
    number: number;
}, string>>, z.ZodObject<{
    repo: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
    number: z.ZodNumber;
}, z.core.$strict>>]>;
export declare function issueReference(issue: IssueRef): string;
export declare function issueBriefBlock(issue: IssueRef): string;
export declare function writeDispatchIssue(id: string, issue: IssueRef): Promise<void>;
/** The reporting Hook keeps one ledger entry per issue and PR. Only the URL
 * leaves the Hook. Report notes and test output remain in the normal return. */
export declare function linkIssuePulls(issue: IssueRef, reports: readonly {
    url: string;
}[]): Promise<void>;
export declare function readDispatchIssue(id: string): Promise<IssueRef | undefined>;
