import { NewType } from "~/types/NewType"; import { Id } from "~/utils/number/Id"; declare enum taxRateId { type = "taxRateId" } export declare type TaxRateId = NewType; /** * Check if the string value is a TaxRateId value */ export declare const is: (s: string) => s is TaxRateId; /** * Try to read a TaxRateId value from a string */ export declare const fromString: (t: string) => TaxRateId | undefined; /** * Create a TaxRateId value from an numeric Id */ export declare const fromId: (id: Id) => TaxRateId; /** * Converts a TaxRateId value to an numeric Id * * Note: A TaxRateId value contains a Id value inside, so we can afford this dangerous forced conversion to Id */ export declare const toId: (TaxRateId: TaxRateId) => Id; export {};