import { Express } from "express";
import { SpamCheckEndpointPluginManager } from "./SpamCheckEndpointPluginManager";
export declare class SynapseHttpAntispam {
    private readonly secret;
    readonly userMayInviteHandles: SpamCheckEndpointPluginManager<[details: {
        room_id: import("@the-draupnir-project/matrix-basic-types").StringRoomID;
        inviter: import("@the-draupnir-project/matrix-basic-types").StringUserID;
        invitee: import("@the-draupnir-project/matrix-basic-types").StringUserID;
    }]>;
    private readonly userMayInviteEndpoint;
    readonly userMayJoinRoomHandles: SpamCheckEndpointPluginManager<[details: {
        room: import("@the-draupnir-project/matrix-basic-types").StringRoomID;
        user: import("@the-draupnir-project/matrix-basic-types").StringUserID;
        is_invited: boolean;
    }]>;
    private readonly userMayJoinRoomEndpoint;
    readonly checkEventForSpamHandles: SpamCheckEndpointPluginManager<[details: {
        event: {
            type: string;
            content: unknown;
        } & {
            unsigned?: {
                age?: number;
                redacted_because?: unknown;
                transaction_id?: string;
                prev_content?: unknown;
            };
            event_id: import("@the-draupnir-project/matrix-basic-types").StringEventID;
            sender: import("@the-draupnir-project/matrix-basic-types").StringUserID;
            origin_server_ts: number;
        } & {
            room_id: import("@the-draupnir-project/matrix-basic-types").StringRoomID;
        };
    }]>;
    private readonly checkEventForSpamEndpoint;
    constructor(secret: string);
    register(webController: Express): void;
}
//# sourceMappingURL=SynapseHttpAntispam.d.ts.map