import { UseQueryOptions } from '@tanstack/react-query'; import type { ListLifecycleRulesResponseV3Response } from '../responses/ListLifecycleRulesResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListLifecycleRulesV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; search_term?: string; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; scope?: 'ancestors' | 'descendants' | 'none'; package_types?: string[]; registry_ids?: string[]; action?: 'DELETE' | 'PROTECT'; } export type ListLifecycleRulesV3OkResponse = ResponseWithPagination; export type ListLifecycleRulesV3ErrorResponse = ErrorV3; export interface ListLifecycleRulesV3Props extends Omit, 'url'> { queryParams: ListLifecycleRulesV3QueryQueryParams; } export declare function listLifecycleRulesV3(props: ListLifecycleRulesV3Props): Promise; /** * Lists lifecycle rules for the given scope. */ export declare function useListLifecycleRulesV3Query(props: ListLifecycleRulesV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;