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