type HeaderBag = Record<string, string | string[] | undefined>;
export type FeishuEventVerificationInput = {
    body: Record<string, unknown>;
    headers: HeaderBag;
    rawBody?: Buffer | string | null;
    verificationToken?: string | null;
    encryptKey?: string | null;
};
export type FeishuEventVerificationResult = {
    kind: "event";
} | {
    kind: "challenge";
    challenge: string;
};
export declare function createFeishuCallbackSignature(input: {
    timestamp: string;
    nonce: string;
    encryptKey: string;
    rawBody: Buffer | string;
}): string;
export declare function hasFeishuCallbackVerificationSignal(body: Record<string, unknown>, headers: HeaderBag): boolean;
export declare function verifyFeishuEventCallback(input: FeishuEventVerificationInput): FeishuEventVerificationResult;
export {};
//# sourceMappingURL=event-verifier.d.ts.map