/**
 * 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 { PlatformResourceUsageLogSelect, PlatformResourceUsageLogWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceUsageLogSelect, PlatformResourceUsageLogWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformResourceUsageLogQueryKey: (id: string | number) => readonly ["platformresourceusagelog", "detail", string | number];
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformResourceUsageLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformResourceUsageLogQuery<S extends PlatformResourceUsageLogSelect, TData = {
    platformResourceUsageLog: InferSelectResult<PlatformResourceUsageLogWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceUsageLogSelect>;
} & Omit<UseQueryOptions<{
    platformResourceUsageLog: InferSelectResult<PlatformResourceUsageLogWithRelations, 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 fetchPlatformResourceUsageLogQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformResourceUsageLogQuery<S extends PlatformResourceUsageLogSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceUsageLogSelect>;
}): Promise<{
    platformResourceUsageLog: InferSelectResult<PlatformResourceUsageLogWithRelations, S> | null;
}>;
/**
 * Raw resource usage log — interval-accounting measurements from heartbeats (self) and the reconciler (observer)
 *
 * @example
 * ```ts
 * await prefetchPlatformResourceUsageLogQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformResourceUsageLogQuery<S extends PlatformResourceUsageLogSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceUsageLogSelect>;
}): Promise<void>;
