import { UseQueryOptions } from '@tanstack/react-query'; import type { ListWebhooksResponseResponse } from '../responses/ListWebhooksResponseResponse'; import type { BadRequestResponse } from '../responses/BadRequestResponse'; import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse'; import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse'; import type { InternalServerErrorResponse } from '../responses/InternalServerErrorResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListWebhooksQueryPathParams { registry_ref: string; } export interface ListWebhooksQueryQueryParams { /** * @format int64 * @default 1 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort_order?: string; sort_field?: string; search_term?: string; } export type ListWebhooksOkResponse = ResponseWithPagination; export type ListWebhooksErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | InternalServerErrorResponse; export interface ListWebhooksProps extends ListWebhooksQueryPathParams, Omit, 'url'> { queryParams: ListWebhooksQueryQueryParams; } export declare function listWebhooks(props: ListWebhooksProps): Promise; /** * Returns List of Webhook Details */ export declare function useListWebhooksQuery(props: ListWebhooksProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;