diff options
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts')
-rw-r--r-- | includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts b/includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts new file mode 100644 index 0000000..33d5ee3 --- /dev/null +++ b/includes/external/matrix/node_modules/matrix-widget-api/lib/templating/url-template.d.ts @@ -0,0 +1,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; |