/**
 * GitHub inbound webhook: signature verification + event → store payload mapping.
 */
import type { ExternalActor } from "../../../crypto/agent_identity.js";
export declare function verifyGithubSignature(rawBody: Buffer, signatureHeader: string, secret: string): boolean;
export interface WebhookStorePayload {
    entities: Record<string, unknown>[];
    relationships: Array<{
        relationship_type: string;
        source_index: number;
        target_index: number;
    }>;
    idempotency_key: string;
    external_actor: ExternalActor;
    observation_source: "sensor";
}
export declare function mapGithubWebhookEventToStore(event: string, payload: Record<string, unknown>, deliveryId: string): WebhookStorePayload | null;
/** @deprecated Use {@link mapGithubWebhookEventToStore}. */
export declare const mapEventToStore: typeof mapGithubWebhookEventToStore;
//# sourceMappingURL=github_handler.d.ts.map