import type { WebViewShareEffect } from '@devvit/protos/types/devvit/ui/effects/web_view/v1alpha/share.js'; export type Share = { /** * App icon URI (likely URL derived from * `LinkedBundle.assets['$devvit_icon.png']`). Eg, * `'https://csipc4--699ce78e-44a2-43c4-b581-3f58298a2711-0-0-9-webview.devvit.net/$devvit_icon.png'`. */ appIconUri: string | undefined; /** Title of share sheet. */ title: string | undefined; /** Body of share sheet. */ text: string | undefined; /** * `devvitshare` / `queryParamDevvitShare` query parameter value to append. * Eg, * `'{"hash": "", "path": "", "params": {}, "userData": "{\"abc\":\"def\"}"}'`. */ devvitShare: string | undefined; }; /** * Validates and unpacks a share effect. * * @arg postURL A link to the post detail page of the app emitting the effect. */ export declare function parseShareEffect(fx: Readonly): Share | undefined; //# sourceMappingURL=share.d.ts.map