/**
 * 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, CreatePrincipalEntityInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PrincipalEntitySelect, PrincipalEntityWithRelations, CreatePrincipalEntityInput, } from '../../orm/input-types';
/**
 * Association table scoping principals to specific organizations
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreatePrincipalEntityMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePrincipalEntityMutation<S extends PrincipalEntitySelect>(params: {
    selection: {
        fields: S & PrincipalEntitySelect;
    } & HookStrictSelect<NoInfer<S>, PrincipalEntitySelect>;
} & Omit<UseMutationOptions<{
    createPrincipalEntity: {
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
    };
}, Error, CreatePrincipalEntityInput['principalEntity']>, 'mutationFn'>): UseMutationResult<{
    createPrincipalEntity: {
        principalEntity: InferSelectResult<PrincipalEntityWithRelations, S>;
    };
}, Error, CreatePrincipalEntityInput['principalEntity']>;
