/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PlatformResourceUsageSummarySelect, PlatformResourceUsageSummaryWithRelations, PlatformResourceUsageSummaryPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceUsageSummarySelect, PlatformResourceUsageSummaryWithRelations, PlatformResourceUsageSummaryPatch, } from '../../orm/input-types';
/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlatformResourceUsageSummaryMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformResourceUsageSummaryPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformResourceUsageSummaryMutation<S extends PlatformResourceUsageSummarySelect>(params: {
    selection: {
        fields: S & PlatformResourceUsageSummarySelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceUsageSummarySelect>;
} & Omit<UseMutationOptions<{
    updatePlatformResourceUsageSummary: {
        platformResourceUsageSummary: InferSelectResult<PlatformResourceUsageSummaryWithRelations, S>;
    };
}, Error, {
    id: string;
    date: string;
    platformResourceUsageSummaryPatch: PlatformResourceUsageSummaryPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformResourceUsageSummary: {
        platformResourceUsageSummary: InferSelectResult<PlatformResourceUsageSummaryWithRelations, S>;
    };
}, Error, {
    id: string;
    date: string;
    platformResourceUsageSummaryPatch: PlatformResourceUsageSummaryPatch;
}>;
