import type { Entity } from '@donotdev/core/server';
type SupabaseHandler = (req: Request) => Promise<Response>;
interface CrudHandlers {
    handlers: Record<string, SupabaseHandler>;
    serve: (req: Request) => Promise<Response>;
}
/**
 * Create CRUD handlers for all entities (Supabase Edge Functions)
 * Returns handlers object + serve dispatcher function
 *
 * @param entities - Object of { key: Entity } (from `import * as entities from 'entities'`)
 * @returns Object with handlers and serve dispatcher
 *
 * @example
 * ```typescript
 * import * as entities from '../_shared/entities.ts';
 * import { createSupabaseCrudFunctions } from '@donotdev/functions/supabase';
 *
 * const { serve } = createSupabaseCrudFunctions(entities);
 * Deno.serve(serve);
 * ```
 */
export declare function createSupabaseCrudFunctions(entities: Record<string, Entity | unknown>): CrudHandlers;
export {};
