/**
 * Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
 * @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 { ResourceInstallationSelect, ResourceInstallationWithRelations, ResourceInstallationFilter, ResourceInstallationOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceInstallationSelect, ResourceInstallationWithRelations, ResourceInstallationFilter, ResourceInstallationOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceInstallationsQueryKey: (variables?: object) => readonly ["resourceinstallation", "list", object];
/**
 * Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourceInstallationsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useResourceInstallationsQuery<S extends ResourceInstallationSelect, TData = {
    resourceInstallations: ConnectionResult<InferSelectResult<ResourceInstallationWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceInstallationFilter, ResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
} & Omit<UseQueryOptions<{
    resourceInstallations: ConnectionResult<InferSelectResult<ResourceInstallationWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
 *
 * @example
 * ```ts
 * const data = await fetchResourceInstallationsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchResourceInstallationsQuery<S extends ResourceInstallationSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceInstallationFilter, ResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
}): Promise<{
    resourceInstallations: ConnectionResult<InferSelectResult<ResourceInstallationWithRelations, S>>;
}>;
/**
 * Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
 *
 * @example
 * ```ts
 * await prefetchResourceInstallationsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchResourceInstallationsQuery<S extends ResourceInstallationSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceInstallationFilter, ResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
}): Promise<void>;
