/**
 * Per-scope permission overrides for principals. No row = full access; row exists = apply restrictions.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PrincipalScopeOverrideSelect, PrincipalScopeOverrideWithRelations, CreatePrincipalScopeOverrideInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PrincipalScopeOverrideSelect, PrincipalScopeOverrideWithRelations, CreatePrincipalScopeOverrideInput, } from '../../orm/input-types';
/**
 * Per-scope permission overrides for principals. No row = full access; row exists = apply restrictions.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreatePrincipalScopeOverrideMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePrincipalScopeOverrideMutation<S extends PrincipalScopeOverrideSelect>(params: {
    selection: {
        fields: S & PrincipalScopeOverrideSelect;
    } & HookStrictSelect<NoInfer<S>, PrincipalScopeOverrideSelect>;
} & Omit<UseMutationOptions<{
    createPrincipalScopeOverride: {
        principalScopeOverride: InferSelectResult<PrincipalScopeOverrideWithRelations, S>;
    };
}, Error, CreatePrincipalScopeOverrideInput['principalScopeOverride']>, 'mutationFn'>): UseMutationResult<{
    createPrincipalScopeOverride: {
        principalScopeOverride: InferSelectResult<PrincipalScopeOverrideWithRelations, S>;
    };
}, Error, CreatePrincipalScopeOverrideInput['principalScopeOverride']>;
