messageformat
Version:
Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill
6 lines (5 loc) • 392 B
TypeScript
import type { Context } from '../format-context.ts';
import type { Literal, VariableRef } from '../data-model/types.ts';
export declare function resolveValue(ctx: Context, value: Literal | VariableRef): unknown;
export declare function getValueSource(value: Literal | VariableRef): string;
export declare function getValueSource(value: Literal | VariableRef | undefined): string | undefined;