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