/**
 * 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, ApiModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ApiModuleSelect, ApiModuleWithRelations, ApiModulePatch, } 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 } = useUpdateApiModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', apiModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateApiModuleMutation<S extends ApiModuleSelect>(params: {
    selection: {
        fields: S & ApiModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ApiModuleSelect>;
} & Omit<UseMutationOptions<{
    updateApiModule: {
        apiModule: InferSelectResult<ApiModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    apiModulePatch: ApiModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateApiModule: {
        apiModule: InferSelectResult<ApiModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    apiModulePatch: ApiModulePatch;
}>;
