/**
 * Single item query hook for StorageLogModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { StorageLogModuleSelect, StorageLogModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { StorageLogModuleSelect, StorageLogModuleWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const storageLogModuleQueryKey: (id: string | number) => readonly ["storagelogmodule", "detail", string | number];
/**
 * Query hook for fetching a single StorageLogModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useStorageLogModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useStorageLogModuleQuery<S extends StorageLogModuleSelect, TData = {
    storageLogModule: InferSelectResult<StorageLogModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, StorageLogModuleSelect>;
} & Omit<UseQueryOptions<{
    storageLogModule: InferSelectResult<StorageLogModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single StorageLogModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchStorageLogModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchStorageLogModuleQuery<S extends StorageLogModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, StorageLogModuleSelect>;
}): Promise<{
    storageLogModule: InferSelectResult<StorageLogModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single StorageLogModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchStorageLogModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchStorageLogModuleQuery<S extends StorageLogModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, StorageLogModuleSelect>;
}): Promise<void>;
