/**
 * 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 { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceInstallationQueryKey: (id: string | number) => readonly ["platformresourceinstallation", "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 } = usePlatformResourceInstallationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect, TData = {
    platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
} & Omit<UseQueryOptions<{
    platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, 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 fetchPlatformResourceInstallationQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
}): Promise<{
    platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, 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 prefetchPlatformResourceInstallationQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
}): Promise<void>;
