import { UseQueryOptions } from '@tanstack/react-query'; import type { WebhookExecutionResponseResponse } from '../responses/WebhookExecutionResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { NotFoundResponse } from '../responses/NotFoundResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetWebhookExecutionQueryPathParams { registry_ref: string; webhook_identifier: string; webhook_execution_id: string; } export type GetWebhookExecutionOkResponse = ResponseWithPagination; export type GetWebhookExecutionErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetWebhookExecutionProps extends GetWebhookExecutionQueryPathParams, Omit, 'url'> { } export declare function getWebhookExecution(props: GetWebhookExecutionProps): Promise; /** * Returns Webhook Execution Details */ export declare function useGetWebhookExecutionQuery(props: GetWebhookExecutionProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;