import { type Approval } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type StepsRequestBuilder } from './steps/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the approval property of the microsoft.graph.userConsentRequest entity.
 */
export interface ApprovalRequestBuilder extends BaseRequestBuilder<ApprovalRequestBuilder> {
    /**
     * Provides operations to manage the steps property of the microsoft.graph.approval entity.
     */
    get steps(): StepsRequestBuilder;
    /**
     * Delete navigation property approval for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
    /**
     * Approval decisions associated with a request.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Approval>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    get(requestConfiguration?: RequestConfiguration<ApprovalRequestBuilderGetQueryParameters> | undefined): Promise<Approval | undefined>;
    /**
     * Update the navigation property approval in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Approval>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    patch(body: Approval, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Approval | undefined>;
    /**
     * Delete navigation property approval for users
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
    /**
     * Approval decisions associated with a request.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApprovalRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Update the navigation property approval in users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toPatchRequestInformation(body: Approval, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * Approval decisions associated with a request.
 */
export interface ApprovalRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const ApprovalRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/appConsentRequestsForApproval/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval{?%24expand,%24select}";
/**
 * Metadata for all the navigation properties in the request builder.
 */
export declare const ApprovalRequestBuilderNavigationMetadata: Record<Exclude<keyof ApprovalRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
 * Metadata for all the requests in the request builder.
 */
export declare const ApprovalRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map