/**
 * A store represents an isolated object repository within a database.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { StoreSelect, StoreWithRelations, StorePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { StoreSelect, StoreWithRelations, StorePatch } from '../../orm/input-types';
/**
 * A store represents an isolated object repository within a database.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateStoreMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', storePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateStoreMutation<S extends StoreSelect>(params: {
    selection: {
        fields: S & StoreSelect;
    } & HookStrictSelect<NoInfer<S>, StoreSelect>;
} & Omit<UseMutationOptions<{
    updateStore: {
        store: InferSelectResult<StoreWithRelations, S>;
    };
}, Error, {
    id: string;
    storePatch: StorePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateStore: {
        store: InferSelectResult<StoreWithRelations, S>;
    };
}, Error, {
    id: string;
    storePatch: StorePatch;
}>;
