import { IVideoTrack, PredefinedQualityLimits } from '../player/types';
import { ExactVideoQuality, Nullable, QualityLimits } from '@vkontakte/videoplayer-shared';
export declare function getQualityLimitsPredefinedType(limits: QualityLimits, highQualityLimit: ExactVideoQuality, trafficSavingLimit: ExactVideoQuality): PredefinedQualityLimits;
type LimitsAsHeightValidParams = {
    limits?: {
        min?: number;
        max?: number;
    };
    highestAvailableHeight: Nullable<number>;
    lowestAvailableHeight: Nullable<number>;
};
export declare function areLimitsInvalid(limits: Nullable<QualityLimits>, highestAvailableQuality: Nullable<ExactVideoQuality>, lowestAvailableQuality: Nullable<ExactVideoQuality>): boolean | (null | undefined);
/**
 * Проверяем лимиты качества, когда указана высота качества.
 */
export declare function areLimitsInvalidInHeights({ limits, highestAvailableHeight, lowestAvailableHeight }: LimitsAsHeightValidParams): boolean | (null | undefined);
type TrackFitsLimitsParams = {
    limits: QualityLimits;
    track: IVideoTrack;
};
export declare function trackFitsLimits({ limits, track }: TrackFitsLimitsParams): boolean;
export {};
