import { UseQueryOptions } from '@tanstack/react-query'; import type { ListArtifactScanResponseV3Response } from '../responses/ListArtifactScanResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetArtifactScansV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; package_types?: string[]; registry_ids?: string[]; policy_set_ref?: string; categories?: string[]; scan_id?: string; /** * Status of an artifact scan evaluation. */ scan_status?: 'ALLOWED' | 'BLOCKED' | 'UNKNOWN' | 'WARN'; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; sort?: string; search_term?: string; scope?: 'ancestors' | 'descendants' | 'none'; } export type GetArtifactScansV3OkResponse = ResponseWithPagination; export type GetArtifactScansV3ErrorResponse = ErrorV3; export interface GetArtifactScansV3Props extends Omit, 'url'> { queryParams: GetArtifactScansV3QueryQueryParams; } export declare function getArtifactScansV3(props: GetArtifactScansV3Props): Promise; /** * Get the list of artifact scan result for a particular scope */ export declare function useGetArtifactScansV3Query(props: GetArtifactScansV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;