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