/**
 * Delete mutation hook for StorageModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { StorageModuleSelect, StorageModuleWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a StorageModule with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteStorageModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteStorageModuleMutation<S extends StorageModuleSelect>(params: {
    selection: {
        fields: S & StorageModuleSelect;
    } & HookStrictSelect<NoInfer<S>, StorageModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteStorageModule: {
        storageModule: InferSelectResult<StorageModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteStorageModule: {
        storageModule: InferSelectResult<StorageModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
