/**
 * Create mutation hook for IdentityProvider
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { IdentityProviderSelect, IdentityProviderWithRelations, CreateIdentityProviderInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a IdentityProvider
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateIdentityProviderMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateIdentityProviderMutation<S extends IdentityProviderSelect>(params: {
    selection: {
        fields: S & IdentityProviderSelect;
    } & HookStrictSelect<NoInfer<S>, IdentityProviderSelect>;
} & Omit<UseMutationOptions<{
    createIdentityProvider: {
        identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
    };
}, Error, CreateIdentityProviderInput['identityProvider']>, 'mutationFn'>): UseMutationResult<{
    createIdentityProvider: {
        identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
    };
}, Error, CreateIdentityProviderInput['identityProvider']>;
