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