import { IAdaptable } from '@adaptabletools/adaptable/src/AdaptableInterfaces/IAdaptable'; import { IIPushPullService } from './Interface/IIPushPullService'; import { IPushPullDomain } from '@adaptabletools/adaptable/src/AdaptableState/InternalState'; import { IPushPullPluginOptions } from '../../IPushPullPluginOptions'; export declare enum ServiceStatus { Unknown = "Unknown", Disconnected = "Disconnected", Connected = "Connected", Error = "Error" } export declare class IPushPullService implements IIPushPullService { adaptable: IAdaptable; private client; private status; private cellStylesOption; private pages; private pageNameToId; private folderNameToId; constructor(adaptable: IAdaptable, cellStyles?: IPushPullPluginOptions['cellStyles']); getIPushPullStatus(): ServiceStatus; private getIPPApi; /** * Derives the IPushPull theme from Adaptable's current theme at call-time, * respecting the 'os' theme by checking `prefers-color-scheme`. */ private deriveDefaultTheme; /** * Returns the resolved IPushPull theme, honouring the `cellStyles` option. * If `cellStyles` is a string, it's used directly. * If not set, the theme is derived from Adaptable's current theme. */ private getResolvedTheme; login(login: string, password: string): Promise; getDomainPages(): Promise; loadPage(folderIPP: string, pageIPP: string): Promise; unloadPage(page: string): void; addNewPage(folderId: number, page: string): Promise; pushData(page: string, data: any[]): Promise; }