import*as tslib_1 from"../polyfills/tslib.js";import{f as createOverlay,g as dismissOverlay,h as getOverlay}from"./chunk-4f24dff4.js";var PopoverController=function(){function e(){}return e.prototype.create=function(e){return createOverlay(this.doc.createElement("ion-popover"),e)},e.prototype.dismiss=function(e,o,r){return dismissOverlay(this.doc,e,o,"ion-popover",r)},e.prototype.getTop=function(){return tslib_1.__awaiter(this,void 0,void 0,function(){return tslib_1.__generator(this,function(e){return[2,getOverlay(this.doc,"ion-popover")]})})},Object.defineProperty(e,"is",{get:function(){return"ion-popover-controller"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{create:{method:!0},dismiss:{method:!0},doc:{context:"document"},getTop:{method:!0}}},enumerable:!0,configurable:!0}),e}();export{PopoverController as IonPopoverController};