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