import type { InputPluginOption } from "rollup"; import { type EditableSourceCodeOnInstanceOptions } from "./react-plugins"; import type { RegisterExplicitIdFunction, Credential } from "./types"; import type { IsomorphicRollupFs } from "../fs-iface"; interface ServicenowFrontEndPluginsOptions { type?: "react"; scope: string; rootDir: string; /** * Absolute path to the project root directory. Required when * `editableSourceCodeOnInstance` is true. */ projectRootDir?: string; registerExplicitId?: RegisterExplicitIdFunction; dev?: boolean; enableCacheBusting?: boolean; /** * When true, embeds the original source code (via `jsxSource`) and * emits a `uiPageSourceManifest` so the shipped bundle can be edited * in-place on a ServiceNow instance and with ServiceNow Build Agent. * * @default false */ editableSourceCodeOnInstance?: boolean | EditableSourceCodeOnInstanceOptions; /** * @deprecated Use `editableSourceCodeOnInstance` instead. */ embedSourceCodeAndHints?: boolean; watchPaths?: string[]; proxyPaths?: string[]; credential?: Credential; httpProxy?: string; omitDevUxGlobals?: boolean; fs?: IsomorphicRollupFs; } export declare const servicenowFrontEndPlugins: ({ type, scope, rootDir, projectRootDir, registerExplicitId, dev, enableCacheBusting, editableSourceCodeOnInstance, embedSourceCodeAndHints, watchPaths, proxyPaths, credential, httpProxy, omitDevUxGlobals, fs, }: ServicenowFrontEndPluginsOptions) => Promise; export {};