import { UseQueryOptions } from '@tanstack/react-query'; import type { LifecycleStatsResponseV3 } from '../schemas/LifecycleStatsResponseV3'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetLifecycleStatsV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; search_term?: string; scope?: 'ancestors' | 'descendants' | 'none'; package_types?: string[]; registry_ids?: string[]; action?: 'DELETE' | 'PROTECT'; } export type GetLifecycleStatsV3OkResponse = ResponseWithPagination; export type GetLifecycleStatsV3ErrorResponse = ErrorV3; export interface GetLifecycleStatsV3Props extends Omit, 'url'> { queryParams: GetLifecycleStatsV3QueryQueryParams; } export declare function getLifecycleStatsV3(props: GetLifecycleStatsV3Props): Promise; /** * Returns aggregate lifecycle execution metrics for the given scope. */ export declare function useGetLifecycleStatsV3Query(props: GetLifecycleStatsV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;