import config from "@arcgis/core/config"; import type { IActivityHandler } from "../../IActivityHandler"; /** Defines inputs for the RegisterCorsUrl activity. */ export interface RegisterCorsUrlInputs { url: string; withCredentials?: boolean; } /** Defines outputs for the RegisterCorsUrl activity. */ export interface RegisterCorsUrlOutputs { /** @description Whether the server was successfully registered as CORS enabled. */ success: boolean; } export declare class RegisterCorsUrl implements IActivityHandler { static readonly action = "gcx:wf:arcgis::RegisterCorsUrl"; static readonly suite = "gcx:wf:builtin"; esriConfig: config; execute(inputs: RegisterCorsUrlInputs): RegisterCorsUrlOutputs; private registerCorsUrl; }