/**
 * Per-database and per-API CORS origin configuration; typed replacement for api_modules cors JSONB entries
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { CorsSettingSelect, CorsSettingWithRelations, CreateCorsSettingInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { CorsSettingSelect, CorsSettingWithRelations, CreateCorsSettingInput, } from '../../orm/input-types';
/**
 * Per-database and per-API CORS origin configuration; typed replacement for api_modules cors JSONB entries
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateCorsSettingMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateCorsSettingMutation<S extends CorsSettingSelect>(params: {
    selection: {
        fields: S & CorsSettingSelect;
    } & HookStrictSelect<NoInfer<S>, CorsSettingSelect>;
} & Omit<UseMutationOptions<{
    createCorsSetting: {
        corsSetting: InferSelectResult<CorsSettingWithRelations, S>;
    };
}, Error, CreateCorsSettingInput['corsSetting']>, 'mutationFn'>): UseMutationResult<{
    createCorsSetting: {
        corsSetting: InferSelectResult<CorsSettingWithRelations, S>;
    };
}, Error, CreateCorsSettingInput['corsSetting']>;
