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