/**
 * Provisions the principals subsystem: a principals table, a principal_entities junction table, create/delete mutations, and org API key management. Supports both human-owned principals (AuthzDirectOwner, AuthzHumanOnly) and org-owned principals (AuthzEntityMembership with is_admin). Org principal and org API key functions are only generated when an org-scoped memberships_module exists for the database.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PrincipalAuthModuleSelect, PrincipalAuthModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PrincipalAuthModuleSelect, PrincipalAuthModuleWithRelations, } from '../../orm/input-types';
/**
 * Provisions the principals subsystem: a principals table, a principal_entities junction table, create/delete mutations, and org API key management. Supports both human-owned principals (AuthzDirectOwner, AuthzHumanOnly) and org-owned principals (AuthzEntityMembership with is_admin). Org principal and org API key functions are only generated when an org-scoped memberships_module exists for the database.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeletePrincipalAuthModuleMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeletePrincipalAuthModuleMutation<S extends PrincipalAuthModuleSelect>(params: {
    selection: {
        fields: S & PrincipalAuthModuleSelect;
    } & HookStrictSelect<NoInfer<S>, PrincipalAuthModuleSelect>;
} & Omit<UseMutationOptions<{
    deletePrincipalAuthModule: {
        principalAuthModule: InferSelectResult<PrincipalAuthModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deletePrincipalAuthModule: {
        principalAuthModule: InferSelectResult<PrincipalAuthModuleWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
