import { EDStatic } from "matrix-protection-suite";
import { SpamCheckEndpointPluginManager } from "./SpamCheckEndpointPluginManager";
import { Request, Response } from "express";
export type CheckEventForSpamListenerArguments = Parameters<(details: CheckEventForSpamRequestBody) => void>;
export type CheckEventForSpamRequestBody = EDStatic<typeof CheckEventForSpamRequestBody>;
export declare const CheckEventForSpamRequestBody: import("@sinclair/typebox").TObject<{
    event: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
        content: import("@sinclair/typebox").TUnknown;
        type: import("@sinclair/typebox").TString;
    }>, import("@sinclair/typebox").TObject<{
        event_id: import("@sinclair/typebox").TUnsafe<import("@the-draupnir-project/matrix-basic-types").StringEventID>;
        sender: import("@sinclair/typebox").TUnsafe<import("@the-draupnir-project/matrix-basic-types").StringUserID>;
        origin_server_ts: import("@sinclair/typebox").TNumber;
        unsigned: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
            age: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
            redacted_because: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
            transaction_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
            prev_content: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
        }>>;
    }>]>, import("@sinclair/typebox").TObject<{
        room_id: import("@sinclair/typebox").TUnsafe<import("@the-draupnir-project/matrix-basic-types").StringRoomID>;
    }>]>;
}>;
export declare class CheckEventForSpamEndpoint {
    private readonly pluginManager;
    constructor(pluginManager: SpamCheckEndpointPluginManager<CheckEventForSpamListenerArguments>);
    private handleCheckEventForSpamAsync;
    handleCheckEventForSpam(request: Request, response: Response): void;
}
//# sourceMappingURL=CheckEventForSpamEndpoint.d.ts.map