TypeScript declarations for the global RingSDK API.
The package contains declarations only and has no runtime dependencies. It does not install or initialize RingSDK — the SDK itself is provided by the host application.
The package's root declaration augments both the global RingSDK identifier and window.RingSDK:
RingSDK.api.apps.openApp({
moduleCodeName: 'example'
});
window.RingSDK.api.topBar.setTitle({
title: 'Example'
});To enable this, reference the types in your project's ambient declaration file:
/// <reference types="@ringpublishing/ui-sdk-types" />The package also exports the API types for explicit imports:
import type { OpenAppParams, RingSdkApi } from '@ringpublishing/ui-sdk-types';- Profile types —
api.auth.getProfile()declarations compared with@types/ring-internal__ui-sdk4.1.0, and the payloads they were derived from.