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