/**
 * Scoped sub-identities (API keys and agents) with precomputed SPRT
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PrincipalSelect, PrincipalWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PrincipalSelect, PrincipalWithRelations } from '../../orm/input-types';
/**
 * Scoped sub-identities (API keys and agents) with precomputed SPRT
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeletePrincipalMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ principalId: 'value-to-delete' });
 * ```
 */
export declare function useDeletePrincipalMutation<S extends PrincipalSelect>(params: {
    selection: {
        fields: S & PrincipalSelect;
    } & HookStrictSelect<NoInfer<S>, PrincipalSelect>;
} & Omit<UseMutationOptions<{
    deletePrincipal: {
        principal: InferSelectResult<PrincipalWithRelations, S>;
    };
}, Error, {
    principalId: string;
}>, 'mutationFn'>): UseMutationResult<{
    deletePrincipal: {
        principal: InferSelectResult<PrincipalWithRelations, S>;
    };
}, Error, {
    principalId: string;
}>;
