import { EmbedScriptRequest as EmbedScriptRequest$1, EmbedScriptResponse as EmbedScriptResponse$1, GetEmbeddedScriptRequest as GetEmbeddedScriptRequest$1, GetEmbeddedScriptResponse as GetEmbeddedScriptResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface ScriptProperties { /** * Dynamic parameters available to the script when it runs on the site. * * Learn more about [using dynamic parameters](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/embedded-script-extension-files-and-code#using-dynamic-parameters-in-your-html-code). */ parameters?: Record; /** Whether to disable the script. Default: `false`. */ disabled?: boolean; } interface EmbedScriptRequest { /** Details of the script to embed. */ properties: ScriptProperties; /** * Extension ID of the embedded script. * * You can find the extension ID in the **Extensions** page in the [app dashboard](https://manage.wix.com/account/custom-apps). If you added the embedded script extension [using the Wix CLI](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/add-an-embedded-script-extension), you can also find it in the extension's [`embedded.extension.ts` file](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/embedded-script-extension-files-and-code#embeddedextensionts). * @format GUID */ componentId?: string | null; } interface EmbedScriptResponse { /** Details of the embedded script. */ properties?: ScriptProperties; } interface GetEmbeddedScriptRequest { /** * Extension ID of the embedded script to retrieve. * * You can find the extension ID in the **Extensions** page in the [app dashboard](https://manage.wix.com/account/custom-apps). If you added the embedded script extension [using the Wix CLI](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/add-an-embedded-script-extension), you can also find it in the extension's [`embedded.extension.ts` file](https://dev.wix.com/docs/wix-cli/guides/extensions/site-extensions/embedded-scripts/embedded-script-extension-files-and-code#embeddedextensionts). * @format GUID */ componentId?: string | null; } interface GetEmbeddedScriptResponse { /** Details of the retrieved embedded script. */ properties?: ScriptProperties; } interface EmbedScriptByInstanceIdRequest { /** @format GUID */ instanceId?: string; /** Parameters to embed */ properties?: ScriptProperties; /** @format GUID */ componentId?: string | null; } interface GetEmbeddedScriptByInstanceIdRequest { /** @format GUID */ instanceId?: string; /** @format GUID */ componentId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function embedScript(): __PublicMethodMetaInfo<'POST', {}, EmbedScriptRequest$1, EmbedScriptRequest, EmbedScriptResponse$1, EmbedScriptResponse>; declare function getEmbeddedScript(): __PublicMethodMetaInfo<'GET', {}, GetEmbeddedScriptRequest$1, GetEmbeddedScriptRequest, GetEmbeddedScriptResponse$1, GetEmbeddedScriptResponse>; export { type EmbedScriptByInstanceIdRequest as EmbedScriptByInstanceIdRequestOriginal, type EmbedScriptRequest as EmbedScriptRequestOriginal, type EmbedScriptResponse as EmbedScriptResponseOriginal, type GetEmbeddedScriptByInstanceIdRequest as GetEmbeddedScriptByInstanceIdRequestOriginal, type GetEmbeddedScriptRequest as GetEmbeddedScriptRequestOriginal, type GetEmbeddedScriptResponse as GetEmbeddedScriptResponseOriginal, type ScriptProperties as ScriptPropertiesOriginal, type __PublicMethodMetaInfo, embedScript, getEmbeddedScript };