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