/**
 * Delete mutation hook for View
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ViewSelect, ViewWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ViewSelect, ViewWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a View with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteViewMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteViewMutation<S extends ViewSelect>(params: {
    selection: {
        fields: S & ViewSelect;
    } & HookStrictSelect<NoInfer<S>, ViewSelect>;
} & Omit<UseMutationOptions<{
    deleteView: {
        view: InferSelectResult<ViewWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteView: {
        view: InferSelectResult<ViewWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
