import { ShareOption } from './types';
export interface ShareStrings {
share: string;
}
export interface ShareSettings {
/**
* Enable/Disable share options
*/
share: boolean;
/**
* Prefer the OS share sheet (`navigator.share`) over the dropdown menu
* when the browser supports it. The share button then opens the native
* sheet with the slide's URL (per-item `shareUrl`, falling back to the
* network share URLs, then the page URL); the dropdown remains as the
* automatic fallback. URL-sharing only, the image file itself is never
* attached.
* @description Defaults to true on touch devices and false on desktop,
* where the branded dropdown is kept for consistency.
* See Web Share.
* @version V3.0.0
*/
preferNativeShare?: boolean;
/**
* Enable Facebook share.
*/
facebook: boolean;
/**
* Facebook dropdown text.
*/
facebookDropdownText: string;
/**
* Enable Twitter share.
*/
twitter: boolean;
/**
* Twitter dropdown text.
*/
twitterDropdownText: string;
/**
* Enable Pinterest share.
*/
pinterest: boolean;
/**
* Pinterest dropdown text.
*/
pinterestDropdownText: string;
/**
* Array of additional share options
*
* This can be used to build additional share options.
* Demo
*/
additionalShareOptions: ShareOption[];
/**
* Custom translation strings for aria-labels
* @deprecated Set these labels on the core `strings` object instead,
* every user-facing string lives in that one contract. An explicitly set
* key here still wins (alias).
*/
sharePluginStrings?: Partial;
}
export declare const shareSettings: {
share: boolean;
facebook: boolean;
facebookDropdownText: string;
twitter: boolean;
twitterDropdownText: string;
pinterest: boolean;
pinterestDropdownText: string;
additionalShareOptions: never[];
};