import { AbsShareSheet } from 'scriptable-abstract'; interface ShareSheetResult { completed: boolean; activity_type: string; } interface ShareSheetState { lastSharedItems: any[]; lastResult: ShareSheetResult | null; } /** * Mock implementation of Scriptable's ShareSheet global variable * Provides functionality for sharing content with other apps * * @implements ShareSheet */ declare class MockShareSheet extends AbsShareSheet { static get instance(): MockShareSheet; constructor(); /** * @inheritdoc */ present(activityItems: readonly any[]): Promise; /** * @additional * Get the last shared items */ getLastSharedItems(): any[]; /** * @additional * Get the last result */ getLastResult(): ShareSheetResult | null; /** * @additional * Clear sharing history */ clear(): void; } export { MockShareSheet };