{"_id":"3h-resize","_rev":"5-97f509ca67d4da156330d773b7e9da57","name":"3h-resize","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"3h-resize","version":"0.1.0","description":"A front-end resizing lib.","module":"./dist/3h-resize.min.js","main":"./dist/3h-resize.umd.min.js","types":"./index.d.ts","author":{"name":"3h"},"license":"MIT","scripts":{"prebuild":"tsc","build":"rollup -c","postbuild":"terser dist/3h-resize.js --config-file terser.json --module -o dist/3h-resize.min.js && terser dist/3h-resize.umd.js --config-file terser.json -o dist/3h-resize.umd.min.js && node stat"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"keywords":["resize","3h"],"devDependencies":{"@babel/core":"^7.10.0","@babel/preset-env":"^7.10.0","@rollup/plugin-babel":"^5.2.0","@rollup/plugin-node-resolve":"^13.1.3","3h-utils":"^0.2.0","rollup":"^2.26.0","terser":"^5.2.0","typescript":"^4.0.0"},"gitHead":"038ab65d22e52b1abfbe1a58fd7db23eaa649ab3","bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"homepage":"https://github.com/huang2002/3h-resize#readme","_id":"3h-resize@0.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-/1UdWZDZaY6ckVA/HPk36VduzyRjgXb/7XJ2fPy4xBa7qH+00mPhqoEvC3qtygGJrCTAPRk6Lp3cqTD3rUJHJg==","shasum":"24e16dddc1b749be6711af52b2de87ea2215c61f","tarball":"https://registry.npmjs.org/3h-resize/-/3h-resize-0.1.0.tgz","fileCount":11,"unpackedSize":37088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiB69tCRA9TVsSAnZWagAAcAEP/jCOsfV1HrgyDxP1MoAl\n6bXNGEQ4roNdjBWubcCnthzG7D5teoVAyUdM3DWI29CQVN96E1Lh3At1UplR\nrfVibyHhbi9ub2RHsYaWcBjiCBgKglu/wPW/a51WP+L6YNU2Vsv5mrID18Zg\nTF+WT8K7tHB7UMwhJZ0hmBtB82EqOBOGTlRBHjAIIQ9ET0KfyG7QioLhx1+Y\nkedv/vtWbMMnnRSg6jiqIW9MqlO5zDJhhSKUIMwK0N/dI98twJboHIAfq6cd\nkT8YC6aeyTo1ICae9itfvNHUa9QC45JiGg8oVSui9KY4nEwdacSJgdw/kud3\nZKISmBcmUvev/Ze7LHL1Byq7AN4yp2+wIoUiz4x3zWv170ehwFVKfaywZ5mU\ny3mF2y1lZrzxmOwdM6T/GbMLemqabDGolf0jIuL5mz1ZuEMKOdvt/LMJlOM9\nj2IcAJXQWTTf4S45E8Sno8J+FDaSaa34+uHybfJpuIt1GBUJVYXOXhinMZMu\naoHqj984w2oc81/isrZGvWGpTxGZPijmiq2ccxWTfiH8/4/vvrFF9ejeWv20\nVUZzTGeoBUE1NHkUrPUNFnaH0yQ3ywb8x28VXVTuFqd7tvkJ6Qa0NTy+tj3t\nRpW/dN10k/Xrh9EgA06BNNrOV6zdGbFj2brSBGqEuAJtgiFsknLBvEMEssKT\nNqhG\r\n=n+Xi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5tbAkWHo6+oGrITKs7MuFF1qcuCewFW8L5RnRMVq/PAIhAL3H73OfXMpPb+TOhx4Jd/uZWDtkj8pM/qhas9ZvfTO7"}]},"_npmUser":{"name":"3h","email":"1340545944@qq.com"},"directories":{},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-resize_0.1.0_1644670829659_0.8011237053086444"},"_hasShrinkwrap":false},"0.1.1":{"name":"3h-resize","version":"0.1.1","description":"A front-end resizing lib.","module":"./dist/3h-resize.min.js","main":"./dist/3h-resize.umd.min.js","types":"./index.d.ts","author":{"name":"3h"},"license":"MIT","scripts":{"prebuild":"tsc","build":"rollup -c","postbuild":"terser dist/3h-resize.js --config-file terser.json --module -o dist/3h-resize.min.js && terser dist/3h-resize.umd.js --config-file terser.json -o dist/3h-resize.umd.min.js && node stat"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"keywords":["resize","3h"],"devDependencies":{"@babel/core":"^7.10.0","@babel/preset-env":"^7.10.0","@rollup/plugin-babel":"^5.2.0","@rollup/plugin-node-resolve":"^13.1.3","rollup":"^2.26.0","terser":"^5.2.0","typescript":"^4.0.0"},"dependencies":{"3h-utils":"^0.2.0"},"gitHead":"eff3ee18fff11cb8c7cdb284b1dc4837cec6289d","bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"homepage":"https://github.com/huang2002/3h-resize#readme","_id":"3h-resize@0.1.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-dw3Fy85Nu8L7Kp9an6oDkNQlinAnNhM/EWGcNL+uoKx+vgnvUkrXQXy/I7L9qX1Z/OosbehXGerfufRH/Kjfgg==","shasum":"8f38a311e70f6fddfbac9841c09908a9d8babe99","tarball":"https://registry.npmjs.org/3h-resize/-/3h-resize-0.1.1.tgz","fileCount":11,"unpackedSize":37112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCf/pCRA9TVsSAnZWagAA2rIP/iHdlOkfSED4lQsg2+PV\nSrRl7SirX9qBrfbCEeyGlGBWpTrOvomhLVuqV6xkmYOm6WWnfEWBh+UnGIbC\nnTX+vXO5289DczDAN6K6UKj67+iFnKGg7v4yUI7NmhGK0SRfeTdcpR2OEh1b\nvMWg/3z1J29PRqHSkvsBMcOyqEiyR9qsaTdFiSYNmZ+cVc+4lMUYnx/Zg9si\nlsamrFOEKBHmg0uIjemRHW4pi63rWhz2HR7zBWojI4/a8QUyEdiE8WmieoAt\n5QIESudklRKhSLvvNqKyOtRw/RtNCFnKExZunROesJVAorOm/uRa5NxAr4s6\nIf1gnr/cNHck6jZ0Wqx+QXNbcQ0A/oAoFZxWyKyGzX3dv/GRE4u74mRtF99o\nUDCC2ySLcGBhOg+vV2drmYJoHFHPIUcCEShmeZ9gFUveMJGL8g5tQkihLzn+\nrqJ99yjwTn/r+IqkCzIEfYtg7RZuZzcmyE8WkYv4lYuvzgAded5ZkSq4uTbM\nGc1LNSY+aEf1bYFhF83EJ086SKMLQni5Nh6D4Jv3ReR7+nxdRQbiTgaDbHg8\n5svNzJ9MqjslPHZMIE62k2EN1lJl8TVgE6jBb6xJqVbXeKwzzUjGOh+X4eYU\nMGlwhhIlaUvpIMBzbUqObpDCZYzN6ZIBlAfcGE23IQOUrlsQdOJ5jlpxckSI\nuPZo\r\n=+pTH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6K1sOlALWo7MCkS1CVZrA4SVLO3U3saG0rZ3Z3d8HCAIgKrHGuzCNyqIBqDaTRqPGgM+SDdWf91ubju/MXGjSIFs="}]},"_npmUser":{"name":"3h","email":"1340545944@qq.com"},"directories":{},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-resize_0.1.1_1644822505141_0.08050083378342121"},"_hasShrinkwrap":false},"0.2.0":{"name":"3h-resize","version":"0.2.0","description":"A front-end resizing lib.","module":"./dist/3h-resize.min.js","main":"./dist/3h-resize.umd.min.js","types":"./index.d.ts","author":{"name":"3h"},"license":"MIT","scripts":{"prebuild":"tsc","build":"rollup -c","postbuild":"terser dist/3h-resize.js --config-file terser.json --module -o dist/3h-resize.min.js && terser dist/3h-resize.umd.js --config-file terser.json -o dist/3h-resize.umd.min.js && node stat"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"keywords":["resize","3h"],"devDependencies":{"@babel/core":"^7.10.0","@babel/preset-env":"^7.10.0","@rollup/plugin-babel":"^5.2.0","@rollup/plugin-node-resolve":"^13.1.3","rollup":"^2.26.0","terser":"^5.2.0","typescript":"^4.0.0"},"dependencies":{"3h-utils":"^0.2.0"},"gitHead":"a832d1203a5e97bfcfd7bfbb0c089d6e9ac751dd","bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"homepage":"https://github.com/huang2002/3h-resize#readme","_id":"3h-resize@0.2.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-wFoMWYb0VPUT1QU1i/mGVDjoXB9ziFuIqIOl0zJpW2VtDLl2/0wGyB9JInyF0Ml6O+Q3AjbyhBIAmdgWMlWRUw==","shasum":"df3b4121a9d7d9db3f71ae2654771ef378e7ca0a","tarball":"https://registry.npmjs.org/3h-resize/-/3h-resize-0.2.0.tgz","fileCount":11,"unpackedSize":37110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC52TCRA9TVsSAnZWagAA+jgP/innT6aASGj5emQ+66iR\n+KiAppX8PpsHAmqdjL64ee55m4O1N8pxS8HRW7fUYCmxCLYX+WJhEhi5Bs1C\nnW20aYzxvLBIyhE+PomrgS695+y07Of3ddDhp9EornRzzsOldOeiWVa8R38C\nIh/X3ny+P84FManr2lTumIic8kTiK7wT246HqgC5a+B8xGTBIH4sAFKp2enC\nepEYTQlsnjWZzbWoJnW/dPrCpRRNGi6NqWVBi/5Qy7em5yBZB1Uw+szri7dA\n03K/3cVwoGKcjofsKvI5g+LqeLH9/LkWtoEKAi44cDJOo48RS8Kv9re5A1qM\nYmtOeTb30pFmk27QT1hDwEE3l5qmKQgmfXs/4p/xAZ6K1UCSNzG8OsI3FsqB\nzX5iqSWVw0ou0sPHlMkYJE2ElghujWNgIJ7Fiy6pvzwQSltGPzCF4gIrW2gG\n7bR46uKXY+hAF6AhPsp8lz7m5iFFQd/FLGu91HMzjTOaKqkGwMRjGvBpImK1\nzwCWrHatln2KvitVw9hyDr787uJaPuTS+HhWYXmB3kMOtxRmT1qdXcFRinb5\namN13JdMi7IEFMNHnvoaTyN0nS9rRfGpjVr06Z25pQy3Ghv+TrCM6hrKRRMO\noUn1Tp7LhGsx3hZJ2/POZWcByXKmiWS8xGS3Aw6JjDSR2ceNoE+Kx+Fz4ATd\nf4sZ\r\n=A6ZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEYwMr0ifrbn4UGDqvrKO5PSpsV9ykYQGUo3mI1Gl9EyAiEA6K6cxpyYK9+O4PXhk+3+ULNlefHzcmxOtN2zCoYZ4mU="}]},"_npmUser":{"name":"3h","email":"1340545944@qq.com"},"directories":{},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-resize_0.2.0_1644928403052_0.5769631007225955"},"_hasShrinkwrap":false},"0.3.0":{"name":"3h-resize","version":"0.3.0","description":"A front-end resizing lib.","module":"./dist/3h-resize.min.js","main":"./dist/3h-resize.umd.min.js","types":"./index.d.ts","author":{"name":"3h"},"license":"MIT","scripts":{"prebuild":"tsc","build":"rollup -c","postbuild":"terser dist/3h-resize.js --config-file terser.json --module -o dist/3h-resize.min.js && terser dist/3h-resize.umd.js --config-file terser.json -o dist/3h-resize.umd.min.js && node stat"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"keywords":["resize","3h"],"devDependencies":{"@babel/core":"^7.10.0","@babel/preset-env":"^7.10.0","@rollup/plugin-babel":"^5.2.0","@rollup/plugin-node-resolve":"^13.1.3","rollup":"^2.26.0","terser":"^5.2.0","typescript":"^4.0.0"},"dependencies":{"3h-utils":"^0.2.0"},"gitHead":"0a3f17fa51e1d86634f7bfe3dd95fd9515eb0e24","bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"homepage":"https://github.com/huang2002/3h-resize#readme","_id":"3h-resize@0.3.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-4ljdogou6C3YHKb0yvqkXGmoe59nAo7RWMwaVb2TiPWvqtJjzFYZ8ZqmvhPsCv1e659w3HNAsFfmWtKFU8FxdA==","shasum":"466009f72371ef6c81baa9a50f0bcf37221b4205","tarball":"https://registry.npmjs.org/3h-resize/-/3h-resize-0.3.0.tgz","fileCount":11,"unpackedSize":37611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC6UnCRA9TVsSAnZWagAAh58P/j0NbI8vY92dE9dayuFB\n/Y2NyE+kC/YnoAEi7VO/bzFunSQzN5FJzrhWmm7Cgjn89jB7BDins3s75mrq\nbFN5nzF4nARC/xFp7nN+kZ2rzmWd3693NV3A44TvvdimBIMuh0EmgpYMLdgq\nsJm6rgvlEB6IgYf/2dG1Ot5AyBNMpWFLWZNffJKtqPtVICjjXOnAq8JViRsb\nglSRR1MWdTRd0/JEF8NcyXP1dNtmGjSoipXZofOngBr7Yg7LWEUp8+GXql7K\nXz/ASzDpDT5UF5XdB3qquHTQDvevEXLvuZEL0rXB+xz8WZXtiaYfVBvTFnMC\n5+jiHiUcaxp4T8OzOMXIRUCSZCsW78M0Z0gUMoTrGXkm9T8nMeEQdMkgL2Oq\n/9kiPgFDv6y/MjH6/IcJEXDHgfHTdHaUvGBORnsFMj4MkuHCC4z1l/TczlMz\nuzr5gnzOgK4MaqOMhNH59gJb5ocLMylAdTPNSAdusYI4gnMs1k4g3GYYEwT2\nfCvsS+weVTqP0w3AalZ4z2ZWIH9VcVGc1MOeywFzSE/w2uYOzZjanZxOW+4H\nWyuBmbDBEHxoRr953ZHBWc9JARYUdGiGMSUiMNVKBtSEKo+mPgX+t3+L8gpK\nP/Uh8qLJQELATyUWfF0JH7Ub9LvLNhM9wMhKYyZOd5uVnwwWvxbaTQB1GtRz\nMyNq\r\n=QYCr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUR0bCfG+T4sKy7L+hHjWa38QX4qZobWVI9Iw7srAoCgIgbqPPsLQsdIkERhRim5wwopcTjOieBXn7nUCMbodEFf0="}]},"_npmUser":{"name":"3h","email":"1340545944@qq.com"},"directories":{},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-resize_0.3.0_1644930343022_0.07203047371234428"},"_hasShrinkwrap":false},"0.4.0":{"name":"3h-resize","version":"0.4.0","description":"A front-end resizing lib.","module":"./dist/3h-resize.min.js","main":"./dist/3h-resize.umd.min.js","types":"./index.d.ts","author":{"name":"3h"},"license":"MIT","scripts":{"prebuild":"tsc","build":"rollup -c","postbuild":"terser dist/3h-resize.js --config-file terser.json --module -o dist/3h-resize.min.js && terser dist/3h-resize.umd.js --config-file terser.json -o dist/3h-resize.umd.min.js && node stat"},"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"keywords":["resize","3h"],"devDependencies":{"@babel/core":"^7.10.0","@babel/preset-env":"^7.10.0","@rollup/plugin-babel":"^5.2.0","@rollup/plugin-node-resolve":"^13.1.3","rollup":"^2.26.0","terser":"^5.2.0","typescript":"^4.0.0"},"dependencies":{"3h-utils":"^0.2.0"},"gitHead":"10a09965d1adf4dd89a4b24d194487f986db8b21","bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"homepage":"https://github.com/huang2002/3h-resize#readme","_id":"3h-resize@0.4.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-BP6f8qxfgoC1sSv3VyDu27BqOUnHj/Dk3Snt8kwlvaSQzgz5NTIfEmuw42cyP4Djo1PAjBJ3XbV9qyk/KbbfLQ==","shasum":"66364588ef491e5182570a5eca673319844bb97a","tarball":"https://registry.npmjs.org/3h-resize/-/3h-resize-0.4.0.tgz","fileCount":11,"unpackedSize":38663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDiqtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo4uA/+MuVBuycyPoG+5YjH9xRuS8XG//+ZDrDdzJilfLT85GznX3Ry\r\neAZkubcinLukkQEAyCnWRHs6OJT9x4GYuB5Z3dzbPzuY0ruWRbba7sy4l2tp\r\ns31rZtZxXwr1ejbJQTCrAXaWgnfArwmBIJcKXkACruyGtclB7D9mPl8d8LJz\r\nMnWuubvxxiHNIKg2MZBCM19iGEB+4N/p73m3ErER17rQtpXY0LhkMo0wkIYN\r\n/QDsIOK2dZeGUvFC/ONuQkdnHJID5MjjFCpDHfGlh2zQxSzMSYX3yoixGz7v\r\n/GypYAYhsrneBhl1DU7m2rc7fFJsczWudnM3dvg29IiGf6v6fEKPoqke/ZFr\r\nNueIKHtexLUGv1JYJbIQXo3eoO9o2EL4pw74j0hNhUDH4gBVst9FcOPVlajA\r\nzMpzqkwx96W48aTDkyMgdaxPs+gsSjSh4wZNcLHR5mZQisAdlIDoyKkAPHI4\r\nF6AWVNl7xY1oXm6C5n6oETRtiUsbIYMxm+ciRr71moPLYY+/Pw2M1+H3cSoQ\r\nZ3bp6ltKc6j+1tR9fjpLKd7VHPJa44+nsFHUgIsiYamQMWwppw7EYJJ0xlD1\r\nTo7i6qc2EF9dKLTuWggLaiDi0FHk0kvlcwH4Y7l/zzJmcPgZ2Qa13kIgouJz\r\nfObJ5+t0IbaRGcOVUGrrHQxBfwkMQbUZAKg=\r\n=3Qiw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCa6AQmHWzlKf5K0J9927sfXa6aTVzcG/pe+btGB5p5DAIhAJpln21iB3Yv7Qlc+NFKqrDoPAXvA9jvRMfvejdPF8Ft"}]},"_npmUser":{"name":"3h","email":"1340545944@qq.com"},"directories":{},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/3h-resize_0.4.0_1645095596962_0.23137100443337544"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-12T13:00:29.658Z","0.1.0":"2022-02-12T13:00:29.812Z","modified":"2022-04-04T10:21:35.632Z","0.1.1":"2022-02-14T07:08:25.328Z","0.2.0":"2022-02-15T12:33:23.199Z","0.3.0":"2022-02-15T13:05:43.269Z","0.4.0":"2022-02-17T10:59:57.122Z"},"maintainers":[{"name":"3h","email":"1340545944@qq.com"}],"description":"A front-end resizing lib.","homepage":"https://github.com/huang2002/3h-resize#readme","keywords":["resize","3h"],"repository":{"type":"git","url":"git+https://github.com/huang2002/3h-resize.git"},"author":{"name":"3h"},"bugs":{"url":"https://github.com/huang2002/3h-resize/issues"},"license":"MIT","readme":"# 3h-resize\n\n> A front-end resizing lib.\n\n## API Reference\n\n```typescript\n// Supports both UMD and ECMAScripts imports.\nexport as namespace HR;\n\n// Using `debounce` helper from `3h-utils`.\nimport { DebounceWrapper } from \"3h-utils\";\n\n/**\n * Type of input data of sizing handlers.\n */\nexport interface SizingInput {\n    paddingTop: number;\n    paddingRight: number;\n    paddingBottom: number;\n    paddingLeft: number;\n    containerWidth: number;\n    containerHeight: number;\n    targetWidth: number;\n    targetHeight: number;\n}\n\n/**\n * Type of output results of sizing handlers.\n */\nexport interface SizingOutput {\n    width: number;\n    height: number;\n    left: number;\n    top: number;\n    scale: number;\n}\n\n/**\n * Type of sizing handlers.\n */\nexport declare type SizingHandler = (input: SizingInput) => SizingOutput;\n\n/**\n * Built-in sizing handlers.\n */\nexport declare namespace Sizing {\n    /**\n     * Scale target to fill available space.\n     * (scale: 1)\n     */\n    const fill: SizingHandler;\n    /**\n     * Scale target to fill available space.\n     * (scale: `availableWidth / targetWidth`)\n     */\n    const fixedWidth: SizingHandler;\n    /**\n     * Scale target to fill available space.\n     * (scale: `availableHeight / targetHeight`)\n     */\n    const fixedHeight: SizingHandler;\n    /**\n     * Scale target to fill available space and align it in the center.\n     * (scale: `min(availableWidth / targetWidth, availableHeight / targetHeight)`)\n     */\n    const semifixed: SizingHandler;\n    /**\n     * Scale target to fit available space and align it in the center.\n     * (scale: `min(availableWidth / targetWidth, availableHeight / targetHeight)`)\n     */\n    const contain: SizingHandler;\n    /**\n     * Simply align the target in the center. (scale: 1)\n     */\n    const center: SizingHandler;\n}\n\nexport declare type ResizeCallback = (result: SizingOutput) => void;\n\nexport declare type ResizerOptions = Partial<{\n    /**\n     * Whether the resizer is active.\n     * (If this is `true`, `update` will be\n     * automatically invoked in constructor.)\n     * @default true\n     */\n    active: boolean;\n    /**\n     * The target element.\n     * @default null\n     */\n    target: HTMLElement | null;\n    /**\n     * The container element.\n     * @default target && target.parentElement\n     */\n    container: HTMLElement | null;\n    /**\n     * The desired width of the target.\n     * @default 0\n     */\n    width: number;\n    /**\n     * The desired height of the target.\n     * @default 0\n     */\n    height: number;\n    /**\n     * The sizing handler.\n     * @default Sizing.center\n     */\n    sizing: SizingHandler;\n    /**\n     * The top padding of the container.\n     * @default options.padding\n     */\n    paddingTop: number;\n    /**\n     * The right padding of the container.\n     * @default options.padding\n     */\n    paddingRight: number;\n    /**\n     * The bottom padding of the container.\n     * @default options.padding\n     */\n    paddingBottom: number;\n    /**\n     * The left padding of the container.\n     * @default options.padding\n     */\n    paddingLeft: number;\n    /**\n     * The default value of `padding*`.\n     * @default 0\n     */\n    padding: number;\n    /**\n     * The callback that should be invoked on resize.\n     * @default null\n     */\n    callback: ResizeCallback | null;\n    /**\n     * Whether to invoke `update` on resize events.\n     * (Refers to `resize` and `orientationchange` events on `window`.)\n     * @default true\n     */\n    autoResize: boolean;\n}>;\n\nexport declare class Resizer {\n    /**\n     * Constructor of {@link Resizer}.\n     */\n    constructor(options?: ResizerOptions);\n    /**\n     * Whether the resizer is active.\n     * (If this is `true`, `update` will be\n     * automatically invoked in constructor.)\n     * @default true\n     */\n    active: boolean;\n    /**\n     * The target element.\n     * @default null\n     */\n    target: HTMLElement | null;\n    /**\n     * The container element.\n     * @default target && target.parentElement\n     */\n    container: HTMLElement | null;\n    /**\n     * The desired width of the target.\n     * @default 0\n     */\n    width: number;\n    /**\n     * The desired height of the target.\n     * @default 0\n     */\n    height: number;\n    /**\n     * The sizing handler.\n     * @default Sizing.center\n     */\n    sizing: SizingHandler;\n    /**\n     * The top padding of the container.\n     * @default options.padding\n     */\n    paddingTop: number;\n    /**\n     * The right padding of the container.\n     * @default options.padding\n     */\n    paddingRight: number;\n    /**\n     * The bottom padding of the container.\n     * @default options.padding\n     */\n    paddingBottom: number;\n    /**\n     * The left padding of the container.\n     * @default options.padding\n     */\n    paddingLeft: number;\n    /**\n     * The callback that should be invoked on resize.\n     * @default null\n     */\n    callback: ResizeCallback | null;\n    /**\n     * Resize the target synchronously.\n     */\n    updateSync(callback?: ResizeCallback): void;\n    /**\n     * Update the target asynchronously.\n     * (Debounced; Default timeout: 100ms.)\n     */\n    update: DebounceWrapper<(callback?: ResizeCallback) => void>;\n    /**\n     * The event listener that invokes `update`.\n     * (bound to this)\n     */\n    onResize(): void;\n}\n```\n","readmeFilename":"README.md"}