import { type ClubsConfiguration } from '@devprotocol/clubs-core';
export type AddCommentRequestJson = Readonly<{
    readonly contents: string;
    readonly hash: string;
    readonly sig: string;
    readonly postId: string;
}>;
export declare const addPostHandler: (conf: ClubsConfiguration, dbQueryType: 'encoded:redis' | 'documents:redis', dbQueryKey: string) => ({ request }: {
    readonly request: Request;
}) => Promise<Response>;
/**
 * This can be used to fetch a single Post by ID
 * @param dbQueryKey the scope of the query
 * @returns a single post
 */
export declare const fetchPostHandler: (dbQueryKey: string) => ({ request, url, }: {
    readonly request: Request;
    readonly url: URL;
}) => Promise<Response>;
/**
 * Deletes a single post
 * @param dbQueryKey the scope of the query
 * @returns a single post
 */
export declare const deletePostHandler: (dbQueryKey: string) => ({ request }: {
    readonly request: Request;
}) => Promise<Response>;
