/**
 * Create mutation hook for WebhookModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { WebhookModuleSelect, WebhookModuleWithRelations, CreateWebhookModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { WebhookModuleSelect, WebhookModuleWithRelations, CreateWebhookModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a WebhookModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateWebhookModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateWebhookModuleMutation<S extends WebhookModuleSelect>(params: {
    selection: {
        fields: S & WebhookModuleSelect;
    } & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
} & Omit<UseMutationOptions<{
    createWebhookModule: {
        webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
    };
}, Error, CreateWebhookModuleInput['webhookModule']>, 'mutationFn'>): UseMutationResult<{
    createWebhookModule: {
        webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
    };
}, Error, CreateWebhookModuleInput['webhookModule']>;
