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