/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PlatformResourceUsageLogSelect, PlatformResourceUsageLogWithRelations, PlatformResourceUsageLogPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceUsageLogSelect, PlatformResourceUsageLogWithRelations, PlatformResourceUsageLogPatch, } from '../../orm/input-types';
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlatformResourceUsageLogMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformResourceUsageLogPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformResourceUsageLogMutation<S extends PlatformResourceUsageLogSelect>(params: {
    selection: {
        fields: S & PlatformResourceUsageLogSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceUsageLogSelect>;
} & Omit<UseMutationOptions<{
    updatePlatformResourceUsageLog: {
        platformResourceUsageLog: InferSelectResult<PlatformResourceUsageLogWithRelations, S>;
    };
}, Error, {
    id: string;
    sampledAt: string;
    platformResourceUsageLogPatch: PlatformResourceUsageLogPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformResourceUsageLog: {
        platformResourceUsageLog: InferSelectResult<PlatformResourceUsageLogWithRelations, S>;
    };
}, Error, {
    id: string;
    sampledAt: string;
    platformResourceUsageLogPatch: PlatformResourceUsageLogPatch;
}>;
