summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts
blob: 33d5ee35fb49bd9d3746e4aa298e77965815df30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { IWidget } from "..";
export interface ITemplateParams {
    widgetRoomId?: string;
    currentUserId: string;
    userDisplayName?: string;
    userHttpAvatarUrl?: string;
    clientId?: string;
    clientTheme?: string;
    clientLanguage?: string;
}
export declare function runTemplate(url: string, widget: IWidget, params: ITemplateParams): string;
export declare function toString(a: unknown): string;