/**
 * Mobile and native app configuration linked to a site, including store links and identifiers
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppSelect, AppWithRelations, AppPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppSelect, AppWithRelations, AppPatch } from '../../orm/input-types';
/**
 * Mobile and native app configuration linked to a site, including store links and identifiers
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppMutation<S extends AppSelect>(params: {
    selection: {
        fields: S & AppSelect;
    } & HookStrictSelect<NoInfer<S>, AppSelect>;
} & Omit<UseMutationOptions<{
    updateApp: {
        app: InferSelectResult<AppWithRelations, S>;
    };
}, Error, {
    id: string;
    appPatch: AppPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateApp: {
        app: InferSelectResult<AppWithRelations, S>;
    };
}, Error, {
    id: string;
    appPatch: AppPatch;
}>;
