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