@automattic/social-previews
Version:
A suite of components to generate previews for a post for both social and search engines.
11 lines • 480 B
TypeScript
/// <reference types="react" />
import { Formatter } from '../helpers';
import { MastodonAddressDetails } from './types';
export declare const mastodonTitle: Formatter;
export declare const mastodonBody: (text: string, options: {
offset: number;
instance: string;
}) => import("react").ReactNode;
export declare const mastodonUrl: Formatter;
export declare const getMastodonAddressDetails: (address: string) => MastodonAddressDetails;
//# sourceMappingURL=helpers.d.ts.map