import type { FastifyRequest } from 'fastify';
export interface VerificationResult {
    valid: boolean;
    error?: string;
}
/**
 * Verify GitLab webhook signature
 * GitLab uses a simple secret token sent in the X-Gitlab-Token header
 */
export declare function verifyGitLabSignature(request: FastifyRequest): VerificationResult;
/**
 * Verify GitHub webhook signature
 * GitHub uses HMAC-SHA256 signature in the X-Hub-Signature-256 header
 */
export declare function verifyGitHubSignature(request: FastifyRequest): VerificationResult;
/**
 * Extract event type from request headers
 */
export declare function getGitLabEventType(request: FastifyRequest): string | undefined;
export declare function getGitHubEventType(request: FastifyRequest): string | undefined;
//# sourceMappingURL=verifier.d.ts.map