import { EventEmitter } from '../../stencil-public-runtime'; export declare class AShare { urlTitle: string; url: string; text: string; files: File[]; hasShared: EventEmitter; errorShare: EventEmitter; el: HTMLElement; render(): any; onClick(): void; onTouch(): void; getProperties(): Promise<{ urlTitle: string; url: string; text: string; files: File[]; }>; /** * @description check if at least one of the attributes is specified * otherwise display an error in the console * * if the checking is successful, calls checkSharingApi method * @private */ private checkAttr; /** * @description check if the browser does support sharing API * * if the user is sharing files this make * sure that the Web API sharing allow such thing. * * if everything okay, calls sharing method * * @param shareData */ private checkSharingApi; /** * @description invokes the Web Share API delegating * all the attributes specified * * @param shareData */ private sharing; }