import { DownloadRef } from '../../models/index.js'; import { BaseRequestBuilder, RequestConfiguration, RequestInformation, RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides a way to export registry data. */ export interface ExportRequestBuilder extends BaseRequestBuilder { /** * Exports registry data as a ZIP archive. If a `groupId` query parameter is provided, only data belonging to the specified group will be exported and global rules will be excluded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ProblemDetails} error when the service returns a 401 status code * @throws {ProblemDetails} error when the service returns a 403 status code * @throws {ProblemDetails} error when the service returns a 404 status code * @throws {ProblemDetails} error when the service returns a 500 status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Exports registry data as a ZIP archive. If a `groupId` query parameter is provided, only data belonging to the specified group will be exported and global rules will be excluded. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Exports registry data as a ZIP archive. If a `groupId` query parameter is provided, only data belonging to the specified group will be exported and global rules will be excluded. */ export interface ExportRequestBuilderGetQueryParameters { /** * Indicates if the operation is done for a browser. If true, the response will be a JSON payload with a property called `href`. This `href` will be a single-use, naked download link suitable for use by a web browser to download the content. */ forBrowser?: boolean; /** * If specified, only data belonging to this group will be exported. Global rules will be excluded. */ groupId?: string; } /** * Uri template for the request builder. */ export declare const ExportRequestBuilderUriTemplate = "{+baseurl}/admin/export{?forBrowser*,groupId*}"; /** * Metadata for all the requests in the request builder. */ export declare const ExportRequestBuilderRequestsMetadata: RequestsMetadata;