import { TimeInterval } from "@microsoft/live-share"; /** * @hidden * Time interval that can scale based on a scaling function. */ export declare class PriorityTimeInterval extends TimeInterval { /** * If true, local user has priority and will have the lowest possible millesecond value. */ hasPriority: boolean; /** * If true, milliseconds will be scaled when {@link hasPriority} is false. */ shouldPrioritize: boolean; /** * Function to get the scale ratio. */ private getScaleBy; /** * Time interval that can scale based on a scaling function. * * @param defaultMilliseconds the default minimum milliseconds * @param getScaleByFn a function to scale the milliseconds by when {@link hasPriority} is false and {@link shouldPrioritize} is true. * @param defaultHasPriority the default {@link hasPriority} value * @param defaultShouldPrioritize the default {@link shouldPrioritize} value */ constructor(defaultMilliseconds: number, getScaleByFn: () => number, defaultHasPriority?: boolean, defaultShouldPrioritize?: boolean); get milliseconds(): number; set milliseconds(value: number); get minMilliseconds(): number; get maxMilliseconds(): number; } //# sourceMappingURL=PriorityTimeInterval.d.ts.map