UNPKG

335 BTypeScriptView Raw
1import { NodePart } from "lit-html";
2import { Values, ValuesCallback } from "./model";
3/**
4 * Directive that makes translations more efficient.
5 * @param key
6 * @param values
7 * @param listen
8 */
9export declare const translate: (key: string, values?: Values | ValuesCallback | undefined, listen?: boolean) => (part: NodePart) => void;