/**
 * GitHub Actions event-payload loader.
 *
 * Workflows triggered by `pull_request` / `issues` events drop a JSON file
 * with the full webhook payload at `$GITHUB_EVENT_PATH`. CLI subcommands
 * invoked from those workflows resolve the input by reading that file —
 * never by re-fetching from the API and never by relying on env-var
 * fragments alone.
 *
 * Returned value is `unknown` so callers do schema-narrowing at the
 * boundary they own (welcome-pr expects a `pull_request`, groom-issue
 * expects an `issue`).
 */
export declare class MissingGitHubEventError extends Error {
    constructor(message: string);
}
/**
 * Read and parse `$GITHUB_EVENT_PATH` JSON. Throws a typed error rather
 * than returning `undefined` so callers can fail loudly when a workflow
 * is misconfigured.
 */
export declare function loadGitHubEvent(): unknown;
/**
 * Resolve `owner/repo` from `$GITHUB_REPOSITORY`. Returns `null` when the
 * env var is missing — callers can fall back to a payload field.
 */
export declare function readGitHubRepositoryEnv(): {
    owner: string;
    repo: string;
} | null;
//# sourceMappingURL=load-github-event.d.ts.map