import { type ClubsConfiguration } from '@devprotocol/clubs-core';
export type AddCommentRequestJson = Readonly<{
    readonly contents: string;
    readonly hash: string;
    readonly sig: string;
    readonly postId: string;
}>;
export type DeleteCommentRequestJson = Readonly<{
    readonly hash: string;
    readonly sig: string;
    readonly postId: string;
    readonly commentId: string;
}>;
export declare const addCommentHandler: (conf: ClubsConfiguration, dbQueryType: 'encoded:redis' | 'documents:redis', dbQueryKey: string) => ({ request }: {
    readonly request: Request;
}) => Promise<Response>;
export declare const deleteCommentHandler: (conf: ClubsConfiguration, dbQueryType: 'encoded:redis' | 'documents:redis', dbQueryKey: string) => ({ request }: {
    readonly request: Request;
}) => Promise<Response>;
/**
 * This can be used to fetch more paginated post comments by page id
 * @param conf
 * @param dbQueryKey
 * @returns paginated comments
 */
export declare const fetchCommentsHandler: (conf: ClubsConfiguration) => ({ request, url, }: {
    readonly request: Request;
    readonly url: URL;
}) => Promise<Response>;
