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