UNPKG

homebridge-appletv-enhanced

Version:

Plugin that exposes the Apple TV to HomeKit with much richer features than the vanilla Apple TV implementation of HomeKit.

13 lines 970 B
import { type SpawnOptionsWithoutStdio } from 'child_process'; import type PrefixLogger from './PrefixLogger'; import type LogLevelLogger from './LogLevelLogger'; export declare function capitalizeFirstLetter(value: string): string; export declare const delay: (ms: number) => Promise<void>; export declare function getLocalIP(): string; export declare function normalizePath(p: string): string | undefined; export declare function trimToMaxLength(value: string, maxLength: number): string; export declare function removeSpecialCharacters(str: string): string; export declare function snakeCaseToTitleCase(str: string): string; export declare function camelCaseToTitleCase(str: string): string; export declare function runCommand(logger: LogLevelLogger | PrefixLogger, command: string, args?: readonly string[], options?: SpawnOptionsWithoutStdio, hideStdout?: boolean, hideStderr?: boolean): Promise<[string, string, number | null]>; //# sourceMappingURL=utils.d.ts.map