/**
 * 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 { ResourceInstallationSelect, ResourceInstallationWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceInstallationSelect, ResourceInstallationWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceInstallationQueryKey: (id: string | number) => readonly ["resourceinstallation", "detail", string | number];
/**
 * 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 } = useResourceInstallationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useResourceInstallationQuery<S extends ResourceInstallationSelect, TData = {
    resourceInstallation: InferSelectResult<ResourceInstallationWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
} & Omit<UseQueryOptions<{
    resourceInstallation: InferSelectResult<ResourceInstallationWithRelations, S> | null;
}, 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 fetchResourceInstallationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchResourceInstallationQuery<S extends ResourceInstallationSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
}): Promise<{
    resourceInstallation: InferSelectResult<ResourceInstallationWithRelations, S> | null;
}>;
/**
 * 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 prefetchResourceInstallationQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchResourceInstallationQuery<S extends ResourceInstallationSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceInstallationSelect>;
}): Promise<void>;
