/**
 * Warm database pool entries. Rows are inserted as warming (which enqueues a db_pool:warm_database job), become ready once provisioned, and are handed to users via metaschema_private.db_pool_claim (invoked by metaschema_public.request_database).
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { DbPoolSelect, DbPoolWithRelations, DbPoolPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { DbPoolSelect, DbPoolWithRelations, DbPoolPatch } from '../../orm/input-types';
/**
 * Warm database pool entries. Rows are inserted as warming (which enqueues a db_pool:warm_database job), become ready once provisioned, and are handed to users via metaschema_private.db_pool_claim (invoked by metaschema_public.request_database).
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateDbPoolMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', dbPoolPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateDbPoolMutation<S extends DbPoolSelect>(params: {
    selection: {
        fields: S & DbPoolSelect;
    } & HookStrictSelect<NoInfer<S>, DbPoolSelect>;
} & Omit<UseMutationOptions<{
    updateDbPool: {
        dbPool: InferSelectResult<DbPoolWithRelations, S>;
    };
}, Error, {
    id: string;
    dbPoolPatch: DbPoolPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateDbPool: {
        dbPool: InferSelectResult<DbPoolWithRelations, S>;
    };
}, Error, {
    id: string;
    dbPoolPatch: DbPoolPatch;
}>;
