import { IPushPullClientConfig, IPushPullTokens, IPushPullDomainAccessInfo, IPushPullPageContentPayload, IPushPullPageContentResponse, IPushPullCellStyle } from './types'; export declare class IPushPullClient { private config; private tokens; private refreshPromise; constructor(config: IPushPullClientConfig); private getBasicAuthHeader; private buildOAuthBody; login(username: string, password: string): Promise; refreshToken(): Promise; private doRefreshToken; logout(): Promise; getDomainsAndPages(): Promise; getPageContent(folderId: number, pageId: number): Promise; updatePageContent(folderId: number, pageId: number, payload: IPushPullPageContentPayload): Promise; createPage(folderId: number, pageName: string, description?: string): Promise; isAuthenticated(): boolean; private fetchWithAuth; } /** * Converts per-cell data (array of rows, each cell being { value, formatted_value, style }) * into the official ipushpull page content format with deduplicated styles. */ export declare function buildPageContentPayload(cellData: Array>): IPushPullPageContentPayload;