/**
 * 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 { PlatformWebhookEndpointSelect, PlatformWebhookEndpointWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformWebhookEndpointSelect, PlatformWebhookEndpointWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformWebhookEndpointQueryKey: (id: string | number) => readonly ["platformwebhookendpoint", "detail", string | number];
/**
 * 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 } = usePlatformWebhookEndpointQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function usePlatformWebhookEndpointQuery<S extends PlatformWebhookEndpointSelect, TData = {
    platformWebhookEndpoint: InferSelectResult<PlatformWebhookEndpointWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
} & Omit<UseQueryOptions<{
    platformWebhookEndpoint: InferSelectResult<PlatformWebhookEndpointWithRelations, S> | null;
}, 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 fetchPlatformWebhookEndpointQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchPlatformWebhookEndpointQuery<S extends PlatformWebhookEndpointSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
}): Promise<{
    platformWebhookEndpoint: InferSelectResult<PlatformWebhookEndpointWithRelations, S> | null;
}>;
/**
 * Webhook route authority: (host, path) -> function task_identifier invoked through the webhook channel, with provider, signing-secret reference, and replay window
 *
 * @example
 * ```ts
 * await prefetchPlatformWebhookEndpointQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchPlatformWebhookEndpointQuery<S extends PlatformWebhookEndpointSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, PlatformWebhookEndpointSelect>;
}): Promise<void>;
