import { ProjectPlugin, ProjectPluginStructure, UIDLPopupConfig } from '@teleporthq/teleport-types'; /** The popups' head script; empty when the project shows no popup. */ export declare function buildPopupsHeadSnippet(config: UIDLPopupConfig | undefined): string; /** * Popups on the published site (`uidl.popups`, built by the editor from the * popup components the owner switched on). Each popup is already a component * instance at the end of every page; this ships the one script that decides * when to open it — see popup-runtime-source.ts. * * Inline in `_document`'s head rather than a public file, so it is there * before the first page view is evaluated (about 14 KB unminified, a few KB * once the page is compressed). Added in `runBefore` because `_document` * reads `customCode.head` during generation; put first, so a broken tag in the * owner's own head code cannot swallow it. * A project without popups is left exactly as it was. */ export declare class NextPopupsProjectPlugin implements ProjectPlugin { runBefore(structure: ProjectPluginStructure): Promise; runAfter(structure: ProjectPluginStructure): Promise; } //# sourceMappingURL=project-plugin.d.ts.map