declare const APIHandler: (baseUrl: string) => { createProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise; createBlankProject: (description: string, theme: string, siteBackground?: File | null, secretReferences?: string | string[]) => Promise; getProjects: (include_published_info?: boolean) => Promise; getProjectMetadata: (projectName: string) => Promise; getSubdomains: (projectName: string) => Promise; allocateSubdomain: (projectName: string, subdomain: string) => Promise; updateSubdomain: (projectName: string, subdomain: string) => Promise; releaseSubdomain: (projectName: string, subdomain: string) => Promise; publishProject: (projectName: string, gitRef: string) => Promise; unpublishProject: (projectName: string) => Promise; tagCommit: (projectName: string, commitHash: string, tagName: string) => Promise; getComponentLibrary: () => Promise; addProjectComponent: (projectName: string, componentNamespace: string, componentName: string, layoutMetadata: any, pageId?: string | null, content?: string | null) => Promise; addProjectChart: (projectName: string, visualId: string, layoutMetadata: object, echartsConfig?: object, pageId?: string | null) => Promise; updateProjectComponentLayoutMetadata: (projectName: string, componentId: string, layoutMetadata: any) => Promise; updateProjectComponentSourceCode: (projectName: string, componentId: string, sourceCode: string) => Promise; updateApplicationMetadata: (projectName: string, applicationName: string, applicationDescription: string, applicationCategory: string) => Promise; updateApplicationSettings: (projectName: string, applicationLoginEnabled?: boolean | null, defaultDeploymentChainReference?: string | null) => Promise; updateProjectFile: (filePath: string, projectName: string, sourceCode: string, abortSignal?: AbortSignal) => Promise; updateProjectFiles: (files: { projectName: string; filePath: string; fileContent: string; }[], abortSignal?: AbortSignal) => Promise; deleteProjectFile: (projectName: string, filePath: string) => Promise; resetProjectFile: (projectName: string, filePath: string, gitRef: string, prune?: boolean, extraMetadata?: string) => Promise; deleteProject: (projectName: string) => Promise; requestErrorCorrection: (projectName: string, componentId: string, errorMessage: string) => Promise; addImage: (formData: FormData) => Promise; editElement: (params: { projectName: string; componentId: string; elementXPath: string; styleRequest?: object | null; textRequest?: string | null; backgroundImageRequest?: string | null; domTreeRepr: string; }) => Promise; getUserSpendAnalytics: () => Promise; addPage: (projectName: string, name: string, path: string, components?: Record>) => Promise; editPage: (projectName: string, pageId: string, newName?: string | null, newPath?: string | null) => Promise; deletePage: (projectName: string, pageId: string) => Promise; editPageLayout: (projectName: string, pageId: string, layoutMetadata: object) => Promise; removePageComponent: (projectName: string, pageId: string, componentId: string) => Promise; getCreatorPointsSum: (projectName?: string | null) => Promise; getCreatorPointsTop: (n?: number) => Promise; getProjectViewsHistory: (projectName: string, start?: Date, end?: Date, granularity?: "minute" | "hour" | "day" | "month" | "year", limit?: number) => Promise; getProjectViewsTop: (n?: number) => Promise; preflightCheck: (projectName?: string) => Promise; getSEOMetadata: (projectName: string) => Promise; updateSEOMetadata: (projectName: string, data: { title?: string | null; description?: string | null; robots?: string | null; ga4_measurement_id?: string | null; favicon_href?: string | null; lang?: string | null; }) => Promise; uploadFavicon: (projectName: string, file: File) => Promise; getFavicon: (projectName: string) => Promise; deleteFavicon: (projectName: string) => Promise; undoProject: (projectName: string) => Promise; redoProject: (projectName: string) => Promise; }; export { APIHandler }; //# sourceMappingURL=api.d.ts.map