/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 * @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 { WebhookEndpointSelect, WebhookEndpointWithRelations, WebhookEndpointFilter, WebhookEndpointOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { WebhookEndpointSelect, WebhookEndpointWithRelations, WebhookEndpointFilter, WebhookEndpointOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const webhookEndpointsQueryKey: (variables?: object) => readonly ["webhookendpoint", "list", object];
/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useWebhookEndpointsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useWebhookEndpointsQuery<S extends WebhookEndpointSelect, TData = {
    webhookEndpoints: ConnectionResult<InferSelectResult<WebhookEndpointWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebhookEndpointFilter, WebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebhookEndpointSelect>;
} & Omit<UseQueryOptions<{
    webhookEndpoints: ConnectionResult<InferSelectResult<WebhookEndpointWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 *
 * @example
 * ```ts
 * const data = await fetchWebhookEndpointsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchWebhookEndpointsQuery<S extends WebhookEndpointSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebhookEndpointFilter, WebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebhookEndpointSelect>;
}): Promise<{
    webhookEndpoints: ConnectionResult<InferSelectResult<WebhookEndpointWithRelations, S>>;
}>;
/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 *
 * @example
 * ```ts
 * await prefetchWebhookEndpointsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchWebhookEndpointsQuery<S extends WebhookEndpointSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, WebhookEndpointFilter, WebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, WebhookEndpointSelect>;
}): Promise<void>;
