import { type GitHubCheckRunWebhookEvent, type GitHubCheckSuiteWebhookEvent, type GitHubIssueCommentEvent, type GitHubIssueWebhookEvent, type GitHubPullRequestReviewCommentEvent, type GitHubPullRequestWebhookEvent, type GitHubWorkflowRunWebhookEvent } from "#public/channels/github/inbound.js";
import { type GitHubChannelState } from "#public/channels/github/state.js";
import type { GitHubChannelConfig } from "#public/channels/github/githubChannel.js";
import type { SendFn } from "#public/definitions/channel.js";
/** Dispatches a bot-directed issue or PR timeline comment into the runtime. */
export declare function dispatchIssueComment(input: {
    readonly botName: string | undefined;
    readonly config: GitHubChannelConfig;
    readonly event: GitHubIssueCommentEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onComment"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches a bot-directed inline pull-request review comment. */
export declare function dispatchPullRequestReviewComment(input: {
    readonly botName: string | undefined;
    readonly config: GitHubChannelConfig;
    readonly event: GitHubPullRequestReviewCommentEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onComment"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches an opt-in issue webhook event into the runtime. */
export declare function dispatchIssue(input: {
    readonly config: GitHubChannelConfig;
    readonly event: GitHubIssueWebhookEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onIssue"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches an opt-in pull-request webhook event into the runtime. */
export declare function dispatchPullRequest(input: {
    readonly config: GitHubChannelConfig;
    readonly event: GitHubPullRequestWebhookEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onPullRequest"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches an opt-in check-suite webhook event into the runtime. */
export declare function dispatchCheckSuite(input: {
    readonly config: GitHubChannelConfig;
    readonly event: GitHubCheckSuiteWebhookEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onCheckSuite"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches an opt-in check-run webhook event into the runtime. */
export declare function dispatchCheckRun(input: {
    readonly config: GitHubChannelConfig;
    readonly event: GitHubCheckRunWebhookEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onCheckRun"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
/** Dispatches an opt-in workflow-run webhook event into the runtime. */
export declare function dispatchWorkflowRun(input: {
    readonly config: GitHubChannelConfig;
    readonly event: GitHubWorkflowRunWebhookEvent;
    readonly handler: NonNullable<GitHubChannelConfig["onWorkflowRun"]>;
    readonly send: SendFn<GitHubChannelState>;
}): Promise<void>;
