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