/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DatabaseProvisionModuleSelect, DatabaseProvisionModuleWithRelations, CreateDatabaseProvisionModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseProvisionModuleSelect, DatabaseProvisionModuleWithRelations, CreateDatabaseProvisionModuleInput, } from '../../orm/input-types';
/**
 * Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateDatabaseProvisionModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateDatabaseProvisionModuleMutation<S extends DatabaseProvisionModuleSelect>(params: {
    selection: {
        fields: S & DatabaseProvisionModuleSelect;
    } & HookStrictSelect<NoInfer<S>, DatabaseProvisionModuleSelect>;
} & Omit<UseMutationOptions<{
    createDatabaseProvisionModule: {
        databaseProvisionModule: InferSelectResult<DatabaseProvisionModuleWithRelations, S>;
    };
}, Error, CreateDatabaseProvisionModuleInput['databaseProvisionModule']>, 'mutationFn'>): UseMutationResult<{
    createDatabaseProvisionModule: {
        databaseProvisionModule: InferSelectResult<DatabaseProvisionModuleWithRelations, S>;
    };
}, Error, CreateDatabaseProvisionModuleInput['databaseProvisionModule']>;
