Skip to main content
Glama
toolbar.d.ts1 kB
import { PostHog } from '../posthog-core'; import { ToolbarParams } from '../types'; export declare class Toolbar { instance: PostHog; constructor(instance: PostHog); private setToolbarState; private getToolbarState; /** * To load the toolbar, we need an access token and other state. That state comes from one of three places: * 1. In the URL hash params * 2. From session storage under the key `toolbarParams` if the toolbar was initialized on a previous page */ maybeLoadToolbar(location?: Location | undefined, localStorage?: Storage | undefined, history?: History | undefined): boolean; private _callLoadToolbar; loadToolbar(params?: ToolbarParams): boolean; /** @deprecated Use "loadToolbar" instead. */ _loadEditor(params: ToolbarParams): boolean; /** @deprecated Use "maybeLoadToolbar" instead. */ maybeLoadEditor(location?: Location | undefined, localStorage?: Storage | undefined, history?: History | undefined): boolean; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server