/**
 * Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SiteModuleSelect, SiteModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteModuleSelect, SiteModuleWithRelations } from '../../orm/input-types';
/**
 * Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteSiteModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteSiteModuleMutation<S extends SiteModuleSelect>(params: {
    selection: {
        fields: S & SiteModuleSelect;
    } & HookStrictSelect<NoInfer<S>, SiteModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
