import { ITenantUnit } from '../../../services/api/DataHub/Units';

export declare const useUnits: (dimensionIdGetter: () => number) => {
    units: import('vue').Ref<{
        dimensionId: number;
        factor: number;
        isBaseUnit: boolean;
        symbol: string;
        _E: number;
        active: boolean;
        description: string;
        entityId: number;
        key: string;
        name: string;
        readOnly: boolean;
        created: string;
        createdBy: number;
        createdByUsername?: string;
        id: number;
        modified: string;
        modifiedBy: number;
        modifiedByUsername?: string;
    }[], ITenantUnit[] | {
        dimensionId: number;
        factor: number;
        isBaseUnit: boolean;
        symbol: string;
        _E: number;
        active: boolean;
        description: string;
        entityId: number;
        key: string;
        name: string;
        readOnly: boolean;
        created: string;
        createdBy: number;
        createdByUsername?: string;
        id: number;
        modified: string;
        modifiedBy: number;
        modifiedByUsername?: string;
    }[]>;
    isUnitsLoading: import('vue').Ref<boolean, boolean>;
    fetchUnits: (dimensionId: number) => Promise<ITenantUnit[]>;
};
