/**
 * 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 { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations, OrgOwnerGrantPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations, OrgOwnerGrantPatch, } from '../../orm/input-types';
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgOwnerGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgOwnerGrantPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgOwnerGrantMutation<S extends OrgOwnerGrantSelect>(params: {
    selection: {
        fields: S & OrgOwnerGrantSelect;
    } & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
} & Omit<UseMutationOptions<{
    updateOrgOwnerGrant: {
        orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgOwnerGrantPatch: OrgOwnerGrantPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgOwnerGrant: {
        orgOwnerGrant: InferSelectResult<OrgOwnerGrantWithRelations, S>;
    };
}, Error, {
    id: string;
    orgOwnerGrantPatch: OrgOwnerGrantPatch;
}>;
