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