/**
 * 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, DomainPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DomainSelect, DomainWithRelations, DomainPatch } from '../../orm/input-types';
/**
 * DNS domain and subdomain routing: maps hostnames to either an API endpoint or a site
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateDomainMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', domainPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateDomainMutation<S extends DomainSelect>(params: {
    selection: {
        fields: S & DomainSelect;
    } & HookStrictSelect<NoInfer<S>, DomainSelect>;
} & Omit<UseMutationOptions<{
    updateDomain: {
        domain: InferSelectResult<DomainWithRelations, S>;
    };
}, Error, {
    id: string;
    domainPatch: DomainPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateDomain: {
        domain: InferSelectResult<DomainWithRelations, S>;
    };
}, Error, {
    id: string;
    domainPatch: DomainPatch;
}>;
