import { UseQueryOptions } from '@tanstack/react-query'; import type { ListReplicationRuleResponseResponse } from '../responses/ListReplicationRuleResponseResponse'; 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 ListReplicationRulesQueryQueryParams { space_ref?: string; } export type ListReplicationRulesOkResponse = ResponseWithPagination; export type ListReplicationRulesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse; export interface ListReplicationRulesProps extends Omit, 'url'> { queryParams: ListReplicationRulesQueryQueryParams; } export declare function listReplicationRules(props: ListReplicationRulesProps): Promise; /** * List all replication rules */ export declare function useListReplicationRulesQuery(props: ListReplicationRulesProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;