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