/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 * @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 { PlatformWebhookEventSelect, PlatformWebhookEventWithRelations, PlatformWebhookEventFilter, PlatformWebhookEventOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformWebhookEventSelect, PlatformWebhookEventWithRelations, PlatformWebhookEventFilter, PlatformWebhookEventOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const platformWebhookEventsQueryKey: (variables?: object) => readonly ["platformwebhookevent", "list", object];
/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 *
 * @example
 * ```tsx
 * const { data, isLoading } = usePlatformWebhookEventsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function usePlatformWebhookEventsQuery<S extends PlatformWebhookEventSelect, TData = {
    platformWebhookEvents: ConnectionResult<InferSelectResult<PlatformWebhookEventWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEventFilter, PlatformWebhookEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEventSelect>;
} & Omit<UseQueryOptions<{
    platformWebhookEvents: ConnectionResult<InferSelectResult<PlatformWebhookEventWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 *
 * @example
 * ```ts
 * const data = await fetchPlatformWebhookEventsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchPlatformWebhookEventsQuery<S extends PlatformWebhookEventSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEventFilter, PlatformWebhookEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEventSelect>;
}): Promise<{
    platformWebhookEvents: ConnectionResult<InferSelectResult<PlatformWebhookEventWithRelations, S>>;
}>;
/**
 * Durable webhook acceptance log — one row per accepted delivery, deduplicated on (endpoint_id, external_event_id), linked to the pending function invocation it enqueued
 *
 * @example
 * ```ts
 * await prefetchPlatformWebhookEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchPlatformWebhookEventsQuery<S extends PlatformWebhookEventSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, PlatformWebhookEventFilter, PlatformWebhookEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformWebhookEventSelect>;
}): Promise<void>;
