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