Version: 0.0.00.0.10.0.20.0.30.0.40.0.50.0.60.0.70.0.90.0.100.0.120.0.130.0.140.0.150.0.161.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.81.0.91.0.101.0.111.0.121.0.131.0.141.0.151.0.161.0.171.0.181.0.191.0.201.0.211.0.221.0.231.0.241.0.251.0.261.0.271.0.281.0.291.0.301.0.311.0.321.0.331.0.341.0.351.0.361.0.371.0.381.0.391.0.401.0.411.0.421.0.431.0.441.0.451.0.461.0.471.0.481.0.491.0.521.0.531.0.541.0.551.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.1.91.1.101.1.111.1.121.1.131.1.142.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.92.0.102.0.112.0.122.0.132.0.142.0.152.0.162.0.172.1.02.1.12.1.22.1.32.1.42.1.53.0.0-03.0.0-13.0.0-23.0.0-33.0.0-43.0.0-53.0.0-63.0.0-73.0.0-83.0.0-93.0.0-103.0.0-113.0.0-123.0.03.0.23.0.43.0.53.1.03.1.13.1.23.1.33.2.43.2.53.2.63.2.73.2.83.2.93.2.103.2.113.2.123.2.133.2.143.2.153.2.163.2.173.2.183.2.193.2.203.2.213.2.223.2.233.2.243.4.13.5.03.5.13.6.03.6.13.7.03.7.13.8.03.8.13.8.23.8.33.8.43.8.53.8.93.8.103.8.113.8.123.8.163.8.183.8.193.8.223.8.233.8.243.8.313.8.323.8.343.8.353.8.363.8.413.8.423.8.483.8.493.8.51-test3.8.513.8.52-test3.8.523.8.53-test3.8.533.8.54-test3.8.543.8.553.8.56-test3.8.563.8.57-test3.8.573.8.58-test3.8.583.8.593.8.60-test3.8.603.8.61-test3.8.613.8.62-test3.8.623.8.63-test3.8.633.8.64-test3.8.643.8.65-test.15677806480033.8.65-test.15677806594943.8.713.8.72-test.15678538521243.8.72-test.15678538539043.8.723.8.73-test.15680456632853.8.73-test.15680456842933.8.733.8.74-test.15680487482503.8.74-test.15680487623183.8.743.8.75-test.15680497118613.8.75-test.15680497203613.8.753.8.76-test.15680506468843.8.76-test.15680506520283.8.763.8.77-test.15681182382853.8.773.8.78-test.15681196322493.8.783.8.79-test.15681220550313.8.793.8.80-test.15681225919893.8.81-test.15681232004033.8.813.8.84-test.15681422628553.8.85-test.15681429432473.8.853.8.86-test.15681436885913.8.863.8.87-test.15681476459993.8.873.8.88-test.15681484897873.8.883.8.89-test.15681501860623.8.893.8.90-test.15681511862953.8.903.8.91-test.15681567199163.8.91-test.15682930793403.8.913.8.92-test.15682973795263.8.92-test.15683057146293.8.923.8.95-test.15683908422613.8.953.9.0-test.15684833025393.9.03.9.1-test.15684834096173.9.13.9.2-test.15684840031193.9.23.10.0-test.15684918513183.10.03.11.0-test.15686548647163.11.03.12.0-test.15687131514493.12.03.13.0-test.15687461945443.13.03.14.0-test.15687537043633.14.04.0.0-test.15689046165814.0.1-test.15689074182934.0.14.0.2-test.15689134695214.0.24.0.3-test.15689140768634.0.34.0.4-test.15689146798414.0.44.0.5-test.15689168070354.0.5-test.15689178275774.0.54.0.8-test.15689202637044.0.84.0.9-test.15689211758044.0.9-test.15689224792444.0.94.0.10-test.15689959530124.0.10-test.15692313758394.0.104.0.11-test.15692728530324.0.114.0.12-test.15692827869504.0.124.1.0-test.15693351638814.1.04.1.1-test.15693536263414.1.14.2.0-test.15693546699664.2.04.2.1-test.15693557507464.2.14.3.0-test.15693577630654.3.0-test.15693577934704.3.04.4.0-test.15694062543804.4.04.4.1-test.15694068917654.4.1-test.15694150699894.4.14.4.2-test.15694157227694.4.2-test.15694158386824.4.2-test.15694173838044.4.2-test.15694183974384.4.2-test.15694189547794.4.24.4.3-test.15694194346734.4.34.4.4-test.15694514522214.4.44.4.5-test.15694515887544.4.54.4.6-test.15694524094244.4.7-test.15694524642454.4.74.5.0-test.15694972794784.5.1-test.15694987575184.5.14.5.2-test.15695010997624.5.2-test.15695866272604.5.24.5.3-test.15695878642204.5.3-test.15695931766774.5.3-test.15695935981094.5.3-test.15696033366024.5.3-test.15696067822634.5.4-test.15696112767624.5.44.6.0-test.15696125165424.6.04.7.0-test.15696144465224.7.04.7.1-test.15696169308454.7.14.7.2-test.15696307397374.7.24.7.3-test.15696328896634.7.34.7.4-test.15696742676024.7.5-test.15696748849644.7.6-test.15696750481874.7.7-test.15696772380384.7.74.7.8-test.15696790836864.7.84.7.9-test.15696802822224.7.94.7.10-test.15696823075834.7.104.7.11-test.15696824999784.7.114.7.12-test.15696825518844.7.124.7.13-test.15696900495314.7.134.7.14-test.15696902755384.7.144.7.15-test.15696904606664.7.154.7.16-test.15696909819144.7.16-test.15698498838634.7.164.7.17-test.15698503597984.7.174.7.18-test.15698510406764.7.184.7.19-test.15698711088874.7.194.7.22-test.15699352845054.7.224.7.23-test.15699370708014.7.234.7.24-test.15699603733094.7.244.7.25-test.15702086066014.8.0-test.15702112289174.8.0-test.15702121115184.8.1-test.15702729797154.8.14.8.2-test.15702742592474.8.24.8.3-test.15702759325534.8.34.8.4-test.15702997884664.8.44.8.5-test.15704948741134.8.54.8.6-test.15704957143494.8.64.8.7-test.15705278194524.8.74.8.8-test.15705280076154.8.8-test.15706453740004.8.84.8.10-test.15708819911584.8.104.8.11-test.15708896586894.8.114.8.12-test.15709094444134.8.124.8.13-test.15709098562114.8.134.8.14-test.15711671180314.8.144.8.15-test.15711687178164.8.154.8.16-test.15711718831454.8.164.8.17-test.15713150540894.8.17-test.15713285895454.8.174.8.19-test.15713899564214.8.19-test.15714843235944.8.194.8.20-test.15714847247214.8.204.8.21-test.15715703056814.8.214.8.22-test.15716587938604.8.224.8.23-test.15719377673844.8.234.8.24-test.15719598209544.8.244.8.27-test.15720895912054.8.274.8.28-test.15720903941324.8.284.8.29-test.15720920113854.8.294.9.0-test.15721129865554.9.04.9.1-test.15721133705694.9.14.9.2-test.15721754475614.9.3-test.15721974362634.9.3-test.15721979422074.9.34.9.4-test.15721982101854.9.44.9.5-test.15721992121214.9.54.9.6-test.15721996129804.9.64.9.9-test.15722017891374.9.94.9.10-test.15722905228014.9.104.9.11-test.15723015144314.9.114.9.12-test.15723018056954.9.124.9.13-test.15723027087104.9.134.9.14-test.15723474874154.9.144.9.15-test.15725333961014.9.154.9.16-test.15725368966054.9.164.9.17-test.15725395734544.9.174.9.18-test.15725397681534.9.184.9.19-test.15725400305994.9.194.9.20-test.15725401621464.9.204.9.21-test.15725463847044.9.22-test.15725514766974.9.23-test.15725534822624.9.234.9.24-test.15725551060164.9.244.9.25-test.15725551907424.9.254.9.26-test.15725560414854.9.264.9.27-test.15725562529664.9.274.9.28-test.15726049892474.9.29-test.15726054004064.9.294.9.30-test.15726447735974.9.304.9.31-test.15726910230154.9.314.9.32-test.15727160778374.9.324.10.0-test.15730726182124.10.04.10.1-test.15733122321514.10.14.10.2-test.15733138673354.10.24.10.3-test.15733399122134.10.34.10.4-test.15734205139974.10.44.10.5-test.15734225776624.10.54.10.6-test.15734227677934.10.64.10.7-test.15734230204494.10.74.10.8-test.15737643541984.10.84.10.9-test.15740171523704.10.10-test.15740172997964.10.10-test.15740184709354.10.11-test.15740252440154.10.12-test.15740270437564.10.124.10.13-test.15740821613074.10.134.10.14-test.15742788142054.10.144.10.15-test.15742839742104.10.154.10.16-test.15742855754414.10.164.10.17-test.15742862870614.10.174.10.18-test.15742864809594.10.184.10.19-test.15742878260074.10.194.10.20-test.15742891357404.10.20-test.15743723738274.10.204.10.21-test.15743731310664.10.214.11.0-test.15750656462704.11.04.12.0-test.15750691147754.12.04.12.1-test.15751086007484.12.1-test.15751105605924.12.14.12.2-test.15751194905544.12.24.12.3-test.15751314135264.12.34.12.4-test.15751323403994.12.44.12.5-test.15751426067314.12.54.12.6-test.15752309050474.12.64.12.7-test.15752379506194.12.74.12.8-test.15752864442924.12.84.12.9-test.15753005420134.12.10-test.15753009543854.12.104.12.11-test.15753027017724.12.114.12.12-test.15753698812764.12.124.12.134.13.0-test.15760736028124.13.04.13.1-test.15760892364394.13.14.13.2-test.15760898629674.13.24.13.3-test.15760939956454.13.34.13.4-test.15760953385064.13.44.13.5-test.15761039015284.13.54.13.6-test.15765275300334.13.64.14.0-test.15765925016804.14.04.14.1-test.15766067631784.14.14.14.2-test.15766069749134.14.24.14.3-test.15766114567854.14.34.14.4-test.15767028710354.14.44.14.5-test.15767128989294.14.54.14.6-test.15767899942094.14.65.0.0-test.15744222682855.0.1-test.15744223340555.0.2-test.15745953803116.0.1-test.15770293767456.0.16.0.2-test.15775798926416.0.26.0.3-test.15775814125876.0.36.0.4-test.15776600162746.0.46.0.7-test.15777181495276.0.76.1.0-test.15777251192136.1.06.1.1-test.15777258323816.1.16.1.2-test.15777307269446.1.26.1.3-test.15777476716436.1.36.1.4-test.15777890914856.1.46.1.5-test.15778800676046.1.56.1.6-test.15785736365946.1.66.1.11-test.15803888393216.1.116.1.12-test.15804972781406.1.126.1.13-test.15805070151256.1.136.2.0-test.15816054525126.2.06.3.0-test.15818607854406.3.06.3.1-test.15821965516236.3.16.3.3-test.15827240683546.3.36.3.4-test.15827246937676.3.46.3.5-test.15827491141986.3.56.3.6-test.15838395473816.3.6-test.15838547136346.3.6-test.15838775579906.3.66.3.8-test.15857422618006.3.86.3.9-test.15857668054396.3.96.3.10-test.15858240756746.3.106.3.11-test.15858248941026.3.116.3.12-test.15860330445636.3.126.3.13-test.15865114562556.3.136.4.0-test.15865305589326.4.1-test.15865320741696.4.16.4.2-test.15865531423616.4.26.5.0-test.15871332434226.5.06.5.1-test.15872319249206.5.16.6.2-test.15884315146606.6.26.7.1-test.15889692270996.7.2-test.15889697728266.7.26.7.3-test.15891942462146.7.36.7.4-test.15892170552016.7.46.7.5-test.15894517163046.7.56.7.7-test.15894941564776.7.76.8.0-test.15897972173416.8.06.8.1-test.15898314776876.8.16.8.2-test.15898330478366.8.26.8.4-test.15898369285156.8.46.8.5-test.15898901322316.8.56.8.6-test.15899232908826.8.66.8.7-test.15899241987476.8.76.8.8-test.15899243215786.8.86.8.9-test.15899271168656.8.96.9.0-test.15900924576056.9.06.9.3-test.15904447614056.9.36.9.4-test.15904449384136.9.46.9.7-test.15924717211406.9.76.9.8-test.15924773299826.9.86.9.9-test.15924809420796.9.96.10.0-test.15942098158186.10.06.10.1-test.15942140319086.10.16.10.2-test.15942875821796.10.26.10.4-test.15943036702746.10.5-test.15943061233516.10.56.10.6-test.15943064218186.10.66.10.7-test.15943074027676.10.76.10.8-test.15943105859576.10.86.10.9-test.15943122227566.10.96.10.10-test.15943145003306.10.106.10.11-test.15943231504966.10.116.10.12-test.15943367528736.10.126.10.13-test.15943375523746.10.136.10.14-test.15943411799806.10.146.10.15-test.15943713990926.10.156.10.16-test.15943749325916.10.166.12.0-test.15944614370666.12.06.12.1-test.15944621972416.12.16.12.2-test.15946636340216.12.26.13.0-test.15947576283196.13.06.13.1-test.15948142305626.13.16.13.2-test.15948201440176.13.26.13.3-test.15948327704236.13.36.13.4-test.15948332947116.13.46.13.5-test.15948415184926.13.6-test.15948486983796.13.66.13.7-test.15949043166726.13.8-test.15949049107326.13.10-test.15949062760806.13.11-test.15949064243036.13.116.13.12-test.15952607591756.13.126.13.13-test.15952643229696.13.136.13.14-test.15952668533976.13.146.13.15-test.15952677996816.13.156.13.16-test.15953376226896.13.166.13.17-test.15953414605556.13.176.13.19-test.15953440448986.13.196.13.20-test.15953704662556.13.21-test.15953732099316.13.216.13.23-test.15955382444286.13.24-test.15955391455486.13.246.13.25-test.15955901915406.13.26-test.15955910454876.13.27-test.15956029296806.13.276.13.28-test.15956112819766.13.286.13.29-test.15957834800576.13.296.13.30-test.15957841205586.13.31-test.15957851298296.13.316.13.32-test.15957852428006.13.32-test.15957928080596.13.326.13.33-test.15957954863926.13.336.13.34-test.15958676758226.13.346.13.35-test.15960425928476.13.356.13.36-test.15961368318446.13.366.13.37-test.15961920142956.13.376.13.38-test.15963979400346.13.386.13.39-test.15964027323526.13.396.14.0-test.15966366857096.14.06.15.0-test.15966375473716.15.06.15.1-test.15969249488846.15.16.15.2-test.15971383662896.15.26.15.3-test.15971502977706.15.36.15.4-test.15971860600096.15.46.15.5-test.15973339716166.15.57.0.0-test.15924280676047.0.0-test.15924710664837.0.1-test.15924711000267.0.2-test.15924760630597.0.7-test.15981980944248.0.1-test.15982213052588.0.2-test.15982214815508.0.28.0.3-test.15982215670528.0.38.0.4-test.15987381925908.0.4-test.15999091858978.0.48.0.5-test.15999092569668.0.58.0.6-test.16001231609678.0.68.0.7-test.16019873671748.0.78.3.0-test.16003559495088.3.08.4.0-test.16009021387268.4.09.1.6-test.16119747217479.1.69.1.7-test.16119763217369.1.79.2.0-test.16122395000539.2.09.3.0-test.16122790091789.3.09.3.1-test.16122892048839.3.19.3.2-test.16122959496359.3.29.3.3-test.16122966481429.3.39.3.4-test.16128118205449.3.49.3.5-test.16128126907099.3.59.3.6-test.16128133882129.3.69.3.7-test.16128162477619.3.79.3.8-test.16128216025579.3.89.3.9-test.16128218641619.3.99.3.10-test.16128289646119.3.109.3.11-test.16132569435259.3.119.3.12-test.16134309153819.3.12-test.16136888041679.3.129.5.0-test.16145425678649.5.09.5.1-test.16145426304429.5.19.5.2-test.16145971458429.5.29.5.3-test.16147276820679.5.3-test.16148663016839.5.39.5.4-test.16148663452709.5.49.5.5-test.16148965415389.5.59.5.6-test.16148983875519.5.69.5.7-test.16149053560469.5.79.5.8-test.16149767606389.5.89.5.9-test.16150468580239.5.99.5.10-test.16150481412309.5.109.5.11-test.16153783421099.5.12-test.16153784262969.5.129.5.13-test.16153910475929.5.139.6.0-test.16153918639039.6.0
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<A, Id>`
* @example
* ```ts
* import {A} from 'ts-toolbelt'
*
* type EUR = A.Type<number, 'eur'>
* type USD = A.Type<number, 'usd'>
* let eurWallet = 10 as EUR
* let usdWallet = 15 as USD
* eurWallet = usdWallet // error
* ```
*/
export declare type Type<A extends any, Id extends Key> = {
[id]: Id;
} & A;
export {};