/**
 * Server-side module configuration for an API endpoint; stores module name and JSON settings used by the application server
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ApiModuleSelect, ApiModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiModuleSelect, ApiModuleWithRelations } from '../../orm/input-types';
/**
 * Server-side module configuration for an API endpoint; stores module name and JSON settings used by the application server
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteApiModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteApiModuleMutation<S extends ApiModuleSelect>(params: {
    selection: {
        fields: S & ApiModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ApiModuleSelect>;
} & Omit<UseMutationOptions<{
    deleteApiModule: {
        apiModule: InferSelectResult<ApiModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteApiModule: {
        apiModule: InferSelectResult<ApiModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
