/**
 * List query hook for DbUsageModule
 * @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 { DbUsageModuleSelect, DbUsageModuleWithRelations, DbUsageModuleFilter, DbUsageModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { DbUsageModuleSelect, DbUsageModuleWithRelations, DbUsageModuleFilter, DbUsageModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const dbUsageModulesQueryKey: (variables?: object) => readonly ["dbusagemodule", "list", object];
/**
 * Query hook for fetching DbUsageModule list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useDbUsageModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useDbUsageModulesQuery<S extends DbUsageModuleSelect, TData = {
    dbUsageModules: ConnectionResult<InferSelectResult<DbUsageModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbUsageModuleFilter, DbUsageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbUsageModuleSelect>;
} & Omit<UseQueryOptions<{
    dbUsageModules: ConnectionResult<InferSelectResult<DbUsageModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch DbUsageModule list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchDbUsageModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchDbUsageModulesQuery<S extends DbUsageModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbUsageModuleFilter, DbUsageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbUsageModuleSelect>;
}): Promise<{
    dbUsageModules: ConnectionResult<InferSelectResult<DbUsageModuleWithRelations, S>>;
}>;
/**
 * Prefetch DbUsageModule list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchDbUsageModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchDbUsageModulesQuery<S extends DbUsageModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, DbUsageModuleFilter, DbUsageModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, DbUsageModuleSelect>;
}): Promise<void>;
