/**
 * Association table scoping principals to specific organizations
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PrincipalEntitySelect, PrincipalEntityWithRelations, PrincipalEntityPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PrincipalEntitySelect, PrincipalEntityWithRelations, PrincipalEntityPatch, } from '../../orm/input-types';
/**
 * Association table scoping principals to specific organizations
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePrincipalEntityMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', principalEntityPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePrincipalEntityMutation<S extends PrincipalEntitySelect>(params: {
    selection: {
        fields: S & PrincipalEntitySelect;
    } & HookStrictSelect<NoInfer<S>, PrincipalEntitySelect>;
} & Omit<UseMutationOptions<{
    updatePrincipalEntity: {
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
    };
}, Error, {
    id: string;
    principalEntityPatch: PrincipalEntityPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePrincipalEntity: {
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
    };
}, Error, {
    id: string;
    principalEntityPatch: PrincipalEntityPatch;
}>;
