import { ResultAsync } from "neverthrow";
import { IMerchantConnectorRepository } from "@merchant-iframe/interfaces/data";
import { MerchantConnectorError, MerchantValidationError } from "@merchant-iframe/interfaces/objects/errors";
import { IContextProvider } from "@merchant-iframe/interfaces/utils";
import { IMerchantService } from "@merchant-iframe/interfaces/business";
import { IMerchantConnector } from "@test-org122/merchant-connector";
declare global {
    interface Window {
        connector: IMerchantConnector;
    }
}
export declare class MerchantService implements IMerchantService {
    protected merchantConnectorRepository: IMerchantConnectorRepository;
    protected contextProvider: IContextProvider;
    constructor(merchantConnectorRepository: IMerchantConnectorRepository, contextProvider: IContextProvider);
    activateMerchantConnector(): ResultAsync<IMerchantConnector, MerchantConnectorError | MerchantValidationError>;
    validateMerchantConnector(): ResultAsync<string, MerchantValidationError>;
}
//# sourceMappingURL=MerchantService.d.ts.map