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