/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ResourceUsageLogSelect, ResourceUsageLogWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceUsageLogSelect, ResourceUsageLogWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceUsageLogQueryKey: (id: string | number) => readonly ["resourceusagelog", "detail", string | number];
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourceUsageLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useResourceUsageLogQuery<S extends ResourceUsageLogSelect, TData = {
    resourceUsageLog: InferSelectResult<ResourceUsageLogWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
} & Omit<UseQueryOptions<{
    resourceUsageLog: InferSelectResult<ResourceUsageLogWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```ts
 * const data = await fetchResourceUsageLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchResourceUsageLogQuery<S extends ResourceUsageLogSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
}): Promise<{
    resourceUsageLog: InferSelectResult<ResourceUsageLogWithRelations, S> | null;
}>;
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```ts
 * await prefetchResourceUsageLogQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchResourceUsageLogQuery<S extends ResourceUsageLogSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
}): Promise<void>;
