import type { UmbInviteUserDataSource, UmbInviteUserRequestModel, UmbResendUserInviteRequestModel } from './types.js';
import type { UmbControllerHost } from '../../../../../libs/controller-api/index.js';
/**
 * A server data source for inviting users
 * @class UmbInviteUserServerDataSource
 */
export declare class UmbInviteUserServerDataSource implements UmbInviteUserDataSource {
    #private;
    /**
     * Creates an instance of UmbInviteUserServerDataSource.
     * @param host
     * @memberof UmbInviteUserServerDataSource
     */
    constructor(host: UmbControllerHost);
    /**
     * Invites a user
     * @param {UmbInviteUserRequestModel} request
     * @returns
     * @memberof UmbInviteUserServerDataSource
     */
    invite(request: UmbInviteUserRequestModel): Promise<{
        error: import("../../../../core/resources/index.js").UmbApiError | import("../../../../core/resources/index.js").UmbCancelError | undefined;
        data?: undefined;
    } | {
        data: import("../../types.js").UmbUserDetailModel;
        error?: undefined;
    }>;
    /**
     * Resend an invite to a user
     * @param {UmbResendUserInviteRequestModel} request
     * @returns
     * @memberof UmbInviteUserServerDataSource
     */
    resendInvite(request: UmbResendUserInviteRequestModel): Promise<import("../../../../core/resources/index.js").UmbApiResponse<{
        data: unknown;
        request: Request;
        response: Response;
    }>>;
}
