/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 * @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 { ResourceUsageSummarySelect, ResourceUsageSummaryWithRelations, ResourceUsageSummaryFilter, ResourceUsageSummaryOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceUsageSummarySelect, ResourceUsageSummaryWithRelations, ResourceUsageSummaryFilter, ResourceUsageSummaryOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceUsageSummariesQueryKey: (variables?: object) => readonly ["resourceusagesummary", "list", object];
/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourceUsageSummariesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useResourceUsageSummariesQuery<S extends ResourceUsageSummarySelect, TData = {
    resourceUsageSummaries: ConnectionResult<InferSelectResult<ResourceUsageSummaryWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageSummaryFilter, ResourceUsageSummaryOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageSummarySelect>;
} & Omit<UseQueryOptions<{
    resourceUsageSummaries: ConnectionResult<InferSelectResult<ResourceUsageSummaryWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 *
 * @example
 * ```ts
 * const data = await fetchResourceUsageSummariesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchResourceUsageSummariesQuery<S extends ResourceUsageSummarySelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageSummaryFilter, ResourceUsageSummaryOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageSummarySelect>;
}): Promise<{
    resourceUsageSummaries: ConnectionResult<InferSelectResult<ResourceUsageSummaryWithRelations, S>>;
}>;
/**
 * Resource usage summaries — runtime seconds, GB-seconds, and max gauges per (resource, namespace, day); resource_id-NULL rows are namespace-grain totals
 *
 * @example
 * ```ts
 * await prefetchResourceUsageSummariesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchResourceUsageSummariesQuery<S extends ResourceUsageSummarySelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageSummaryFilter, ResourceUsageSummaryOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageSummarySelect>;
}): Promise<void>;
