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