/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 * @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 { PlatformResourceSelect, PlatformResourceWithRelations, PlatformResourceFilter, PlatformResourceOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceSelect, PlatformResourceWithRelations, PlatformResourceFilter, PlatformResourceOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourcesQueryKey: (variables?: object) => readonly ["platformresource", "list", object];
/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourcesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformResourcesQuery<S extends PlatformResourceSelect, TData = {
    platformResources: ConnectionResult<InferSelectResult<PlatformResourceWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceFilter, PlatformResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceSelect>;
} & Omit<UseQueryOptions<{
    platformResources: ConnectionResult<InferSelectResult<PlatformResourceWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 *
 * @example
 * ```ts
 * const data = await fetchPlatformResourcesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformResourcesQuery<S extends PlatformResourceSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceFilter, PlatformResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceSelect>;
}): Promise<{
    platformResources: ConnectionResult<InferSelectResult<PlatformResourceWithRelations, S>>;
}>;
/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 *
 * @example
 * ```ts
 * await prefetchPlatformResourcesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformResourcesQuery<S extends PlatformResourceSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformResourceFilter, PlatformResourceOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceSelect>;
}): Promise<void>;
