@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
14 lines (13 loc) • 431 B
TypeScript
import { YTNode } from '../helpers.js';
import type { RawNode } from '../index.js';
import NavigationEndpoint from './NavigationEndpoint.js';
import Text from './misc/Text.js';
export default class SettingsSwitch extends YTNode {
static type: string;
title: Text;
subtitle: Text;
enabled: boolean;
enable_endpoint: NavigationEndpoint;
disable_endpoint: NavigationEndpoint;
constructor(data: RawNode);
}