/** * Decides what a reply's UI loads for an image, video or sound the agent linked to: the URL to * load, which may be another, or `null` not to load it. The agent writes these links, so one * could track the person or reach their network. The counterpart of `mediaURL` in StreamChatAI. */ export type AIUIMediaURL = (url: URL) => URL | string | null | undefined; /** * Whether `url` is a public web link: http or https, to a host that isn't this device or its * network, such as `localhost` or `192.168.1.1`. */ export declare const isPublicWebURL: (url: URL) => boolean; /** * The media a reply's UI loads by default: public web links, and links to the page's own * site. Others, such as `data:` URLs or addresses on the person's network, don't load. */ export declare const aiUIPublicMediaURL: AIUIMediaURL; /** * The address to load for a link the agent wrote, as `mediaURL` decides it, or `undefined` not * to load anything. Renderers call it before they draw an image, video or sound. */ export declare const aiUIMediaSource: (value: unknown, mediaURL?: AIUIMediaURL) => string | undefined; //# sourceMappingURL=AIUIMedia.d.ts.map