/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgInviteSelect, OrgInviteWithRelations, CreateOrgInviteInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgInviteSelect, OrgInviteWithRelations, CreateOrgInviteInput, } from '../../orm/input-types';
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateOrgInviteMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgInviteMutation<S extends OrgInviteSelect>(params: {
    selection: {
        fields: S & OrgInviteSelect;
    } & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
} & Omit<UseMutationOptions<{
    createOrgInvite: {
        orgInvite: InferSelectResult<OrgInviteWithRelations, S>;
    };
}, Error, CreateOrgInviteInput['orgInvite']>, 'mutationFn'>): UseMutationResult<{
    createOrgInvite: {
        orgInvite: InferSelectResult<OrgInviteWithRelations, S>;
    };
}, Error, CreateOrgInviteInput['orgInvite']>;
