import { type ServicePrincipal } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Casts the previous resource to servicePrincipal.
 */
export interface GraphServicePrincipalRequestBuilder extends BaseRequestBuilder<GraphServicePrincipalRequestBuilder> {
    /**
     * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<ServicePrincipal>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    get(requestConfiguration?: RequestConfiguration<GraphServicePrincipalRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipal | undefined>;
    /**
     * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphServicePrincipalRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
 * Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
 */
export interface GraphServicePrincipalRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const GraphServicePrincipalRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/createdObjects/{directoryObject%2Did}/graph.servicePrincipal{?%24expand,%24select}";
/**
 * Metadata for all the requests in the request builder.
 */
export declare const GraphServicePrincipalRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map