/**
 * Delete mutation hook for Table
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { TableSelect, TableWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { TableSelect, TableWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a Table with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteTableMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteTableMutation<S extends TableSelect>(params: {
    selection: {
        fields: S & TableSelect;
    } & HookStrictSelect<NoInfer<S>, TableSelect>;
} & Omit<UseMutationOptions<{
    deleteTable: {
        table: InferSelectResult<TableWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteTable: {
        table: InferSelectResult<TableWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
