import { type SharePointMigrationTask } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to call the getBySourceUserPrincipalName method.
 */
export interface GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder extends BaseRequestBuilder<GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilder> {
    /**
     * Get a sharePointMigrationTask that was previously created for a user, using the source userPrincipalName. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<SharePointMigrationTask>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     * @see {@link https://learn.microsoft.com/graph/api/sharepointmigrationtask-getbysourceuserprincipalname?view=graph-rest-beta|Find more info here}
     */
    get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SharePointMigrationTask | undefined>;
    /**
     * Get a sharePointMigrationTask that was previously created for a user, using the source userPrincipalName. The returned sharePointMigrationTask object includes the source and target site URLs, migration status, optional timestamps (startedDateTime and finishedDateTime), and error details about issues during processing.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * Uri template for the request builder.
 */
export declare const GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilderUriTemplate = "{+baseurl}/solutions/sharePoint/migrations/crossOrganizationMigrationTasks/getBySourceUserPrincipalName(sourcePrincipalName='{sourcePrincipalName}')";
/**
 * Metadata for all the requests in the request builder.
 */
export declare const GetBySourceUserPrincipalNameWithSourcePrincipalNameRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map