/**
 * DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DomainSelect, DomainWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DomainSelect, DomainWithRelations } from '../../orm/input-types';
/**
 * DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteDomainMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteDomainMutation<S extends DomainSelect>(params: {
    selection: {
        fields: S & DomainSelect;
    } & HookStrictSelect<NoInfer<S>, DomainSelect>;
} & Omit<UseMutationOptions<{
    deleteDomain: {
        domain: InferSelectResult<DomainWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteDomain: {
        domain: InferSelectResult<DomainWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
