import { ActionBehaviorConstructorProps, ActionBehavior } from '../actionbehavior'; import { Component } from '../component'; import { ContextManager } from '../context'; import { Event } from '../event'; export type ShareCanvasProps = ActionBehaviorConstructorProps; /** * Shares the captured canvas using the Web Share API. * * @zbehavior * @zicon share * @zgroup Actions */ export declare class ShareSnapshot extends ActionBehavior { /** @zui */ onShare: Event<[]>; constructor(contextManager: ContextManager, instance: Component, props: ShareCanvasProps); /** @zprop */ perform(): void; private share; /** @zui */ preview(): void; }