/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations, CreateSessionSecretsModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SessionSecretsModuleSelect, SessionSecretsModuleWithRelations, CreateSessionSecretsModuleInput, } from '../../orm/input-types';
/**
 * Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateSessionSecretsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateSessionSecretsModuleMutation<S extends SessionSecretsModuleSelect>(params: {
    selection: {
        fields: S & SessionSecretsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, SessionSecretsModuleSelect>;
} & Omit<UseMutationOptions<{
    createSessionSecretsModule: {
        sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S>;
    };
}, Error, CreateSessionSecretsModuleInput['sessionSecretsModule']>, 'mutationFn'>): UseMutationResult<{
    createSessionSecretsModule: {
        sessionSecretsModule: InferSelectResult<SessionSecretsModuleWithRelations, S>;
    };
}, Error, CreateSessionSecretsModuleInput['sessionSecretsModule']>;
