import{invoke as e}from"./core-SwWLTXZB.js";import{getCurrentWindow as t}from"./window-Blb_LMoU.js";var n;(function(e){e[e.SIZE=1]=`SIZE`,e[e.POSITION=2]=`POSITION`,e[e.MAXIMIZED=4]=`MAXIMIZED`,e[e.VISIBLE=8]=`VISIBLE`,e[e.DECORATIONS=16]=`DECORATIONS`,e[e.FULLSCREEN=32]=`FULLSCREEN`,e[e.ALL=63]=`ALL`})(n||={});async function r(t,n){await e(`plugin:window-state|restore_state`,{label:t,flags:n})}async function i(e){await r(t().label,e)}export{n as StateFlags,i as restoreStateCurrent};