/**
 * Records of ownership transfers and grants between members
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppOwnerGrantSelect, AppOwnerGrantWithRelations, AppOwnerGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppOwnerGrantSelect, AppOwnerGrantWithRelations, AppOwnerGrantPatch, } from '../../orm/input-types';
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppOwnerGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appOwnerGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppOwnerGrantMutation<S extends AppOwnerGrantSelect>(params: {
    selection: {
        fields: S & AppOwnerGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppOwnerGrantSelect>;
} & Omit<UseMutationOptions<{
    updateAppOwnerGrant: {
        appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appOwnerGrantPatch: AppOwnerGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppOwnerGrant: {
        appOwnerGrant: InferSelectResult<AppOwnerGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    appOwnerGrantPatch: AppOwnerGrantPatch;
}>;
