import type { Infrastructure } from "../../types/dbTypes"; import type { ApiAdapter } from "../ports/apiAdapter"; export declare function createInfrastructureHooks(adapter: ApiAdapter): { useInfrastructures: () => { infrastructures: Infrastructure[]; isLoading: boolean; isError: any; }; useInfrastructure: (infrastructureId: number) => { infrastructure: Infrastructure; isLoading: boolean; isError: any; updateInfrastructure: import("swr/mutation").TriggerWithOptionsArgs>; isMutating: boolean; updateError: any; updatedData: Infrastructure; }; useCreateInfrastructure: () => { createInfrastructure: import("swr/mutation").TriggerWithOptionsArgs>; isMutating: boolean; createError: any; createdData: Infrastructure; }; useDeleteInfrastructure: (infrastructureId?: number | string) => { deleteInfrastructure: (id: number) => Promise; isMutating: boolean; deleteError: any; deletedData: Infrastructure; }; }; //# sourceMappingURL=createInfrastructureHooks.d.ts.map