import { ArtifactReference, VersionContent } from '../../models/index.js'; import { BaseRequestBuilder, RequestConfiguration, RequestInformation, RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Detect external references in artifact content. */ export interface ReferencesRequestBuilder extends BaseRequestBuilder { /** * Analyzes the provided content and returns a list of external references found within it. The artifact type is used to determine the appropriate reference detection strategy. If no artifact type is provided, the system will attempt to auto-detect it from the content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ProblemDetails} error when the service returns a 400 status code * @throws {ProblemDetails} error when the service returns a 500 status code */ post(body: VersionContent, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Analyzes the provided content and returns a list of external references found within it. The artifact type is used to determine the appropriate reference detection strategy. If no artifact type is provided, the system will attempt to auto-detect it from the content. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: VersionContent, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Analyzes the provided content and returns a list of external references found within it. The artifact type is used to determine the appropriate reference detection strategy. If no artifact type is provided, the system will attempt to auto-detect it from the content. */ export interface ReferencesRequestBuilderPostQueryParameters { /** * The type of artifact represented by the content. If not provided, the server will attempt to auto-detect the type from the content. */ artifactType?: string; } /** * Uri template for the request builder. */ export declare const ReferencesRequestBuilderUriTemplate = "{+baseurl}/content/references{?artifactType*}"; /** * Metadata for all the requests in the request builder. */ export declare const ReferencesRequestBuilderRequestsMetadata: RequestsMetadata;