import * as v from 'valibot';
import type { UserRole } from '@donotdev/core/server';
import type { CallableFunction } from 'firebase-functions/v2/https';
export type DeleteEntityRequest = {
    id: string;
};
/**
 * Generic function to delete entities from any Firestore collection
 * @param collection - The Firestore collection name
 * @param requiredRole - Minimum role required for this operation
 * @param customSchema - Optional custom request schema
 * @returns Firebase callable function
 *
 * @version 0.1.0
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
export declare const deleteEntity: (collection: string, requiredRole: UserRole, customSchema?: v.BaseSchema<unknown, any, v.BaseIssue<unknown>>) => CallableFunction<DeleteEntityRequest, Promise<{
    success: boolean;
}>>;
