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