/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SiteSelect, SiteWithRelations, SitePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteSelect, SiteWithRelations, SitePatch } from '../../orm/input-types';
/**
 * Top-level site configuration: branding assets, title, and description for a deployed application
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateSiteMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', sitePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSiteMutation<S extends SiteSelect>(params: {
    selection: {
        fields: S & SiteSelect;
    } & HookStrictSelect<NoInfer<S>, SiteSelect>;
} & Omit<UseMutationOptions<{
    updateSite: {
        site: InferSelectResult<SiteWithRelations, S>;
    };
}, Error, {
    id: string;
    sitePatch: SitePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSite: {
        site: InferSelectResult<SiteWithRelations, S>;
    };
}, Error, {
    id: string;
    sitePatch: SitePatch;
}>;
