/**
 * 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 { ListSelectionConfig } from '../selection';
import type { ResourceUsageLogSelect, ResourceUsageLogWithRelations, ResourceUsageLogFilter, ResourceUsageLogOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceUsageLogSelect, ResourceUsageLogWithRelations, ResourceUsageLogFilter, ResourceUsageLogOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const resourceUsageLogsQueryKey: (variables?: object) => readonly ["resourceusagelog", "list", object];
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useResourceUsageLogsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useResourceUsageLogsQuery<S extends ResourceUsageLogSelect, TData = {
    resourceUsageLogs: ConnectionResult<InferSelectResult<ResourceUsageLogWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageLogFilter, ResourceUsageLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
} & Omit<UseQueryOptions<{
    resourceUsageLogs: ConnectionResult<InferSelectResult<ResourceUsageLogWithRelations, S>>;
}, 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 fetchResourceUsageLogsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchResourceUsageLogsQuery<S extends ResourceUsageLogSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageLogFilter, ResourceUsageLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
}): Promise<{
    resourceUsageLogs: ConnectionResult<InferSelectResult<ResourceUsageLogWithRelations, S>>;
}>;
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```ts
 * await prefetchResourceUsageLogsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchResourceUsageLogsQuery<S extends ResourceUsageLogSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ResourceUsageLogFilter, ResourceUsageLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ResourceUsageLogSelect>;
}): Promise<void>;
