/**
 * DO INSTEAD rules for views (e.g., read-only enforcement)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ViewRuleSelect, ViewRuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ViewRuleSelect, ViewRuleWithRelations } from '../../orm/input-types';
/**
 * DO INSTEAD rules for views (e.g., read-only enforcement)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteViewRuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteViewRuleMutation<S extends ViewRuleSelect>(params: {
    selection: {
        fields: S & ViewRuleSelect;
    } & HookStrictSelect<NoInfer<S>, ViewRuleSelect>;
} & Omit<UseMutationOptions<{
    deleteViewRule: {
        viewRule: InferSelectResult<ViewRuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteViewRule: {
        viewRule: InferSelectResult<ViewRuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
