// 命名空间导入的目标模块
// 被 main.ts 通过 import * as Consts 导入

export const MAX_SIZE = 1024;
export const MIN_SIZE = 0;
export const DEFAULT_NAME = "default";

export function getRange(): number {
    return MAX_SIZE - MIN_SIZE;
}

export function isValidSize(s: number): boolean {
    return s >= MIN_SIZE && s <= MAX_SIZE;
}
