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