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