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