/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { IdentityProvidersModuleSelect, IdentityProvidersModuleWithRelations, IdentityProvidersModulePatch, } from '../../orm/input-types';
/**
 * Config row for the identity_providers_module, which provisions a per-database identity_providers config table holding OAuth2 / OIDC (and future SAML) provider definitions: protocol kind, endpoint URLs, encrypted client secret, scopes, audience validation, PKCE, and email-handling flags. Built-in providers (google, github, apple, ...) are seeded as is_built_in=true rows; custom providers use slugs of the form custom:<slug>.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateIdentityProvidersModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', identityProvidersModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateIdentityProvidersModuleMutation<S extends IdentityProvidersModuleSelect>(params: {
    selection: {
        fields: S & IdentityProvidersModuleSelect;
    } & HookStrictSelect<NoInfer<S>, IdentityProvidersModuleSelect>;
} & Omit<UseMutationOptions<{
    updateIdentityProvidersModule: {
        identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    identityProvidersModulePatch: IdentityProvidersModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateIdentityProvidersModule: {
        identityProvidersModule: InferSelectResult<IdentityProvidersModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    identityProvidersModulePatch: IdentityProvidersModulePatch;
}>;
