import { IProductDefinition } from "./ObjectModel/ObjectModel"; import { IConfiguration } from "./Configuration/ConfigurationInterfaces"; import { Editor } from "./Editor"; declare global { interface Window { CustomersCanvas: { IframeApi: { editorUrl: string; }; }; } } export declare let editorUrl: string; export declare function setEditorUrl(url: string): void; export declare function loadEditor(editorFrame: HTMLIFrameElement, product: string | string[] | IProductDefinition, config?: IConfiguration, onFirstLoad?: () => void): Promise; export declare function preload(): void; export declare function loadEditorByQueryString(editorFrame: HTMLIFrameElement, queryString: string, onFirstLoad?: () => void): Promise; export declare function _createPreConfiguredEditor(editorFrame: HTMLIFrameElement): Editor; export declare class QueryString { value: string; constructor(value: string); getDeserializedObject(): { key: string; value: string; }[]; } export declare class StateId { value: string; constructor(value: string); }