import { UseQueryOptions } from '@tanstack/react-query'; import type { WebhookResponseResponse } from '../responses/WebhookResponseResponse'; 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 GetWebhookQueryPathParams { registry_ref: string; webhook_identifier: string; } export type GetWebhookOkResponse = ResponseWithPagination; export type GetWebhookErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface GetWebhookProps extends GetWebhookQueryPathParams, Omit, 'url'> { } export declare function getWebhook(props: GetWebhookProps): Promise; /** * Returns Webhook Details */ export declare function useGetWebhookQuery(props: GetWebhookProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;