/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DatabaseSelect, DatabaseWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Database with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteDatabaseMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteDatabaseMutation<S extends DatabaseSelect>(params: {
    selection: {
        fields: S & DatabaseSelect;
    } & HookStrictSelect<NoInfer<S>, DatabaseSelect>;
} & Omit<UseMutationOptions<{
    deleteDatabase: {
        database: InferSelectResult<DatabaseWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteDatabase: {
        database: InferSelectResult<DatabaseWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
