/**
 * 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 { PlatformWebhookEndpointSelect, PlatformWebhookEndpointWithRelations, PlatformWebhookEndpointFilter, PlatformWebhookEndpointOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformWebhookEndpointSelect, PlatformWebhookEndpointWithRelations, PlatformWebhookEndpointFilter, PlatformWebhookEndpointOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformWebhookEndpointsQueryKey: (variables?: object) => readonly ["platformwebhookendpoint", "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 } = usePlatformWebhookEndpointsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformWebhookEndpointsQuery<S extends PlatformWebhookEndpointSelect, TData = {
    platformWebhookEndpoints: ConnectionResult<InferSelectResult<PlatformWebhookEndpointWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEndpointFilter, PlatformWebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
} & Omit<UseQueryOptions<{
    platformWebhookEndpoints: ConnectionResult<InferSelectResult<PlatformWebhookEndpointWithRelations, 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 fetchPlatformWebhookEndpointsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformWebhookEndpointsQuery<S extends PlatformWebhookEndpointSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEndpointFilter, PlatformWebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
}): Promise<{
    platformWebhookEndpoints: ConnectionResult<InferSelectResult<PlatformWebhookEndpointWithRelations, 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 prefetchPlatformWebhookEndpointsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformWebhookEndpointsQuery<S extends PlatformWebhookEndpointSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEndpointFilter, PlatformWebhookEndpointOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
}): Promise<void>;
