interface GistPublisherOptions { accessTokenProvider: GistPublisherAccessTokenProviderInterface; saveWidgetsStateHandler: () => Promise; prepareContentToPublish: (scope: any) => any; } export interface GistPublisherAccessTokenProviderInterface { getPersonalAccessToken(): Promise; } declare global { interface Window { bxPublisherOptions: GistPublisherOptions; } } export declare class GistPublisherUtils { static get accessTokenProvider(): GistPublisherAccessTokenProviderInterface; static get saveWidgetStateHandler(): () => Promise; static get prepareContentToPublish(): (scope: any) => any; static setup(options: GistPublisherOptions): void; static publishScope(scope: any): void; } export {};