import { UseQueryOptions } from '@tanstack/react-query'; import type { ListLifecycleExecutionsResponseV3Response } from '../responses/ListLifecycleExecutionsResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListLifecycleExecutionsV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; search_term?: string; scope?: 'ancestors' | 'descendants' | 'none'; package_types?: string[]; registry_ids?: string[]; status?: 'FAILED' | 'INPROGRESS' | 'PENDING' | 'SUCCESS'; } export type ListLifecycleExecutionsV3OkResponse = ResponseWithPagination; export type ListLifecycleExecutionsV3ErrorResponse = ErrorV3; export interface ListLifecycleExecutionsV3Props extends Omit, 'url'> { queryParams: ListLifecycleExecutionsV3QueryQueryParams; } export declare function listLifecycleExecutionsV3(props: ListLifecycleExecutionsV3Props): Promise; /** * Lists lifecycle executions for the given scope, optionally filtered by policy. */ export declare function useListLifecycleExecutionsV3Query(props: ListLifecycleExecutionsV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;