import { ElementRef, EventEmitter, OnInit } from '@angular/core'; import { Context } from '../context'; /** * The toolbar attribute to be used on any HTML tag. * Will bring the floating edit-toolbar to the UI if the user is logged in * * @export * @class SxcTagToolbarDirective * @implements {OnInit} */ export declare class SxcTagToolbarDirective implements OnInit { private element; private context; /** * The configuration of this toolbar * @type {*} see 2sxc docs, can be a string, string[], or an object */ sxcToolbar: any; /** * A refresh callback when an action on the toolbar requires data to be refreshed. * If not specified, the page will simply reload, if specified, this action will run and page-reload won't happen. * New in v.11.12 */ refresh: EventEmitter; constructor(element: ElementRef, context: Context); ngOnInit(): any; /** * Check if the event emiter has a listener, and if yes, stop automatic page reload */ private preventRefreshIfListenerConfigured; }