import { type SpawnOptionsWithoutStdio } from 'child_process'; import { type MPVStatus } from './MPVStatusProvider'; import { type VolumioContext } from '../common/VolumioContext'; import { type ServiceContext } from '../common/ServiceContext'; import { type TrackInfo } from '../common/VolumioStateManager'; import { Service } from '../common/Service'; export interface MPVServiceContext extends ServiceContext { mpvArgs?: string[]; spawnOptions?: Omit & { /** * Set to `null` for default uid */ uid?: number | null; /** * Set to `null` for default gid */ gid?: number | null; }; } export type UnvalidatedMPVServiceContext = Omit & { volumio?: Omit & { commandRouter: unknown; statemachine: unknown; mpdPlugin: unknown; }; }; export declare class MPVService extends Service { #private; constructor(context: UnvalidatedMPVServiceContext); start(): Promise; quit(): Promise; isActive(): boolean; getStatus(): import("../common/PlayerStatusProvider").PlayerStatus | null; play(track: TrackInfo, start?: number): Promise; pause(): Promise; stop(): Promise; resume(): Promise; next(): Promise; previous(): Promise; setRandom(value: boolean): void; setRepeat(value: boolean, repeatSingle: boolean): Promise; seek(position: number): Promise; pushState(): void; } //# sourceMappingURL=MPVService.d.ts.map