import { Key } from './Key'; declare const id: unique symbol; /** * Create your own opaque sub-type from a type `A` * @param A to be personalized * @param Id to name the sub-type * @returns A new type `Type` * @example * ```ts * import {A} from 'ts-toolbelt' * * type EUR = A.Type * type USD = A.Type * * let eurWallet = 10 as EUR * let usdWallet = 15 as USD * * eurWallet = usdWallet // error * ``` */ export declare type Type = { [id]: Id; } & A; export {};