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