import { CategoryMap, UnitDefinitions, Preset, UnitPreferencesConfig, UserUnitPreferences } from './types';
export declare const DEFAULT_PRESET = "nautical-metric";
export declare function setApplicationDataPath(configPath: string): void;
export declare function getConfigUnitprefsDir(): string;
export declare function loadAll(): void;
export declare function getCategories(): CategoryMap;
export declare function getCustomCategories(): {
    [category: string]: string;
};
export declare function getStandardDefinitions(): UnitDefinitions;
export declare function getCustomDefinitions(): UnitDefinitions;
export declare function getActivePreset(): Preset;
export declare function getConfig(): UnitPreferencesConfig;
export declare function reloadPreset(): void;
export declare function invalidatePresetCache(presetName?: string): void;
export declare function reloadCustomDefinitions(): void;
export declare function reloadCustomCategories(): void;
export declare function getMergedDefinitions(): UnitDefinitions;
export declare function getDefaultCategory(signalkPath: string, pathSiUnit?: string, username?: string): string | null;
export declare function getBaseUnitToCategories(): {
    [baseUnit: string]: string[];
};
export declare function getCategoryForBaseUnit(baseUnit: string, username?: string): string | null;
export declare function loadUserPreferences(username: string): UserUnitPreferences | null;
export declare function saveUserPreferences(username: string, prefs: UserUnitPreferences): void;
export declare function getActivePresetForUser(username?: string): Preset;
//# sourceMappingURL=loader.d.ts.map