/**
 * Update 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, SchemaPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SchemaSelect, SchemaWithRelations, SchemaPatch } from '../../orm/input-types';
/**
 * Mutation hook for updating a Schema
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateSchemaMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', schemaPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSchemaMutation<S extends SchemaSelect>(params: {
    selection: {
        fields: S & SchemaSelect;
    } & HookStrictSelect<NoInfer<S>, SchemaSelect>;
} & Omit<UseMutationOptions<{
    updateSchema: {
        schema: InferSelectResult<SchemaWithRelations, S>;
    };
}, Error, {
    id: string;
    schemaPatch: SchemaPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSchema: {
        schema: InferSelectResult<SchemaWithRelations, S>;
    };
}, Error, {
    id: string;
    schemaPatch: SchemaPatch;
}>;
