import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; /** * Server discovery and capability metadata. Use /v1/info before authentication setup. */ export declare class BaseInfo extends APIResource { static readonly _key: readonly ['info']; /** * Returns app, platform, server, endpoint discovery, OAuth, and WebSocket metadata * for this Beeper Client API server. */ retrieve(options?: RequestOptions): APIPromise; } /** * Server discovery and capability metadata. Use /v1/info before authentication setup. */ export declare class Info extends BaseInfo { } export interface InfoRetrieveResponse { app: InfoRetrieveResponse.App; endpoints: InfoRetrieveResponse.Endpoints; platform: InfoRetrieveResponse.Platform; server: InfoRetrieveResponse.Server; } export declare namespace InfoRetrieveResponse { interface App { /** * App bundle identifier */ bundle_id: string; /** * App name */ name: string; /** * App version */ version: string; } interface Endpoints { /** * MCP endpoint */ mcp: string; oauth: Endpoints.OAuth; /** * OpenAPI spec endpoint */ spec: string; /** * WebSocket events endpoint */ ws_events: string; } namespace Endpoints { interface OAuth { /** * OAuth authorization endpoint */ authorization_endpoint: string; /** * OAuth introspection endpoint */ introspection_endpoint: string; /** * OAuth dynamic client registration endpoint */ registration_endpoint: string; /** * OAuth token revocation endpoint */ revocation_endpoint: string; /** * OAuth token endpoint */ token_endpoint: string; /** * OAuth userinfo endpoint */ userinfo_endpoint: string; } } interface Platform { /** * CPU architecture */ arch: string; /** * Operating system identifier */ os: string; /** * Runtime release version */ release?: string; } interface Server { /** * Base URL of the Beeper Client API server */ base_url: string; /** * Listening host */ hostname: string; /** * Whether MCP endpoint is enabled */ mcp_enabled: boolean; /** * Listening port */ port: number; /** * Whether remote access is enabled */ remote_access: boolean; /** * Server status */ status: string; } } export declare namespace Info { export { type InfoRetrieveResponse as InfoRetrieveResponse }; } //# sourceMappingURL=info.d.mts.map