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