/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { BlueprintTemplateSelect, BlueprintTemplateWithRelations, BlueprintTemplatePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { BlueprintTemplateSelect, BlueprintTemplateWithRelations, BlueprintTemplatePatch, } from '../../orm/input-types';
/**
 * A shareable, versioned schema recipe for the blueprint marketplace. Templates define arrays of secure_table_provision + relation_provision inputs that together describe a complete domain schema (e.g. e-commerce, telemedicine, habit tracker). Templates are never executed directly — they are copied into a blueprint first via copy_template_to_blueprint(). Can be private (owner-only) or public (marketplace-visible).
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateBlueprintTemplateMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', blueprintTemplatePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateBlueprintTemplateMutation<S extends BlueprintTemplateSelect>(params: {
    selection: {
        fields: S & BlueprintTemplateSelect;
    } & HookStrictSelect<NoInfer<S>, BlueprintTemplateSelect>;
} & Omit<UseMutationOptions<{
    updateBlueprintTemplate: {
        blueprintTemplate: InferSelectResult<BlueprintTemplateWithRelations, S>;
    };
}, Error, {
    id: string;
    blueprintTemplatePatch: BlueprintTemplatePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateBlueprintTemplate: {
        blueprintTemplate: InferSelectResult<BlueprintTemplateWithRelations, S>;
    };
}, Error, {
    id: string;
    blueprintTemplatePatch: BlueprintTemplatePatch;
}>;
