/**
 * 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 { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ListSelectionConfig } from '../selection';
import type { AppSelect, AppWithRelations, AppFilter, AppOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppSelect, AppWithRelations, AppFilter, AppOrderBy } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appsQueryKey: (variables?: object) => readonly ["app", "list", object];
/**
 * Mobile and native app configuration linked to a site, including store links and identifiers
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppsQuery<S extends AppSelect, TData = {
    apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppFilter, AppOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppSelect>;
} & Omit<UseQueryOptions<{
    apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Mobile and native app configuration linked to a site, including store links and identifiers
 *
 * @example
 * ```ts
 * const data = await fetchAppsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppsQuery<S extends AppSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppFilter, AppOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppSelect>;
}): Promise<{
    apps: ConnectionResult<InferSelectResult<AppWithRelations, S>>;
}>;
/**
 * Mobile and native app configuration linked to a site, including store links and identifiers
 *
 * @example
 * ```ts
 * await prefetchAppsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppsQuery<S extends AppSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppFilter, AppOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppSelect>;
}): Promise<void>;
