/**
 * 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { CorsSettingSelect, CorsSettingWithRelations } 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 } = useDeleteCorsSettingMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteCorsSettingMutation<S extends CorsSettingSelect>(params: {
    selection: {
        fields: S & CorsSettingSelect;
    } & HookStrictSelect<NoInfer<S>, CorsSettingSelect>;
} & Omit<UseMutationOptions<{
    deleteCorsSetting: {
        corsSetting: InferSelectResult<CorsSettingWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteCorsSetting: {
        corsSetting: InferSelectResult<CorsSettingWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
