import type { PostgresJsDatabase } from "drizzle-orm/postgres-js"; import type { AllocationMutationOptions, CreateAllocationResourceInput, UpdateAllocationResourceInput } from "./service-allocation.js"; export declare function createAllocationResource(db: PostgresJsDatabase, slotId: string, input: CreateAllocationResourceInput, options?: AllocationMutationOptions): Promise<{ id: string; createdAt: Date; updatedAt: Date; label: string | null; sortOrder: number; slotId: string; kind: string; refType: string | null; refId: string | null; capacity: number; flags: Record; parentId: string | null; } | null>; export declare function updateAllocationResource(db: PostgresJsDatabase, slotId: string, resourceId: string, input: UpdateAllocationResourceInput, options?: AllocationMutationOptions): Promise<{ id: string; slotId: string; kind: string; refType: string | null; refId: string | null; label: string | null; capacity: number; flags: Record; parentId: string | null; sortOrder: number; createdAt: Date; updatedAt: Date; } | null>; export declare function deleteAllocationResource(db: PostgresJsDatabase, slotId: string, resourceId: string, options?: AllocationMutationOptions): Promise<{ id: string; kind: string; label: string | null; capacity: number; } | null>;