import { type Domain } from '@microsoft/msgraph-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the rootDomain property of the microsoft.graph.domain entity.
 */
export interface RootDomainRequestBuilder extends BaseRequestBuilder<RootDomainRequestBuilder> {
    /**
     * Get the root domain of a subdomain. This API returns a single object.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Domain>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     * @see {@link https://learn.microsoft.com/graph/api/domain-get-rootdomain?view=graph-rest-1.0|Find more info here}
     */
    get(requestConfiguration?: RequestConfiguration<RootDomainRequestBuilderGetQueryParameters> | undefined): Promise<Domain | undefined>;
    /**
     * Get the root domain of a subdomain. This API returns a single object.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<RootDomainRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
 * Get the root domain of a subdomain. This API returns a single object.
 */
export interface RootDomainRequestBuilderGetQueryParameters {
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Select properties to be returned
     */
    select?: string[];
}
/**
 * Uri template for the request builder.
 */
export declare const RootDomainRequestBuilderUriTemplate = "{+baseurl}/domains/{domain%2Did}/rootDomain{?%24expand,%24select}";
/**
 * Metadata for all the requests in the request builder.
 */
export declare const RootDomainRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map