import { VideoQuality } from '@vkontakte/videoplayer-shared';
import { type PlaybackRate } from '@vkontakte/videoplayer-core';
export declare const savePreferredVolume: (volume: number) => void;
export declare const getPreferredVolume: () => number | undefined;
export declare const savePreferredQuality: (videoId: number | undefined, value: VideoQuality) => void;
export declare const deletePreferredQuality: () => void;
export declare const getPreferredQuality: (currentVideoId: number | undefined) => VideoQuality | undefined;
export declare const savePreferMute: (preferMute: boolean) => void;
export declare const getPreferMute: () => boolean;
export declare const savePreferTrafficSavingEnabled: (trafficSavingEnabled: boolean) => void;
export declare const getPreferTrafficSavingEnabled: () => boolean;
export declare const getPreferredStreamLanguage: () => string | undefined;
export declare const savePreferredStreamLanguage: (language: string) => void;
export declare const savePreferredRate: (rate: PlaybackRate) => void;
export declare const getPreferredRate: () => PlaybackRate | undefined;
export declare const savePreferredAutoplayNext: (autoplayNext: boolean) => void;
export declare const getPreferredAutoplayNext: () => boolean;
export type PreferredQualitySettingsType = 'traffic_saving' | 'high_quality' | 'auto_quality' | 'exact_video';
export type PreferredQualitySettingsValue = {
    type: Exclude<PreferredQualitySettingsType, 'exact_video'>;
    videoId?: number;
} | {
    type: 'exact_quality';
    quality: VideoQuality;
    videoId?: number;
};
type DefaultPreferredQualitySettingsValue = Exclude<PreferredQualitySettingsValue, {
    type: 'exact_quality';
}>;
export type QualitySettingsAppliesTo = 'as-default' | 'to-video';
export declare const getPreferredQualitySettings: (videoId: number | undefined) => (PreferredQualitySettingsValue & {
    appliesTo: QualitySettingsAppliesTo;
}) | null, migrateSettingsToLegacyWay: (videoId?: number) => void, savePreferredQualitySettings: (value: PreferredQualitySettingsValue, appliesTo?: QualitySettingsAppliesTo) => void, savePreferredDefaultQualitySettings: (value: DefaultPreferredQualitySettingsValue) => void, removePreferredQualitySettingsByVideo: () => void, getPreferredDefaultQualitySettings: () => DefaultPreferredQualitySettingsValue | null;
export {};
