wuchale
Version:
Protobuf-like i18n from normal code
14 lines • 516 B
TypeScript
export { MixedVisitor } from './mixed-visitor.js';
export declare function runtimeVars(wrapFunc: (expr: string) => string): {
rtConst: string;
rtTrans: string;
rtTPlural: string;
rtPlural: string;
rtCtx: string;
rtTransCtx: string;
/** for when nesting, used in adapters with elements */
nestCtx: string;
};
export type RuntimeVars = ReturnType<typeof runtimeVars>;
export declare function nonWhitespaceText(text: string): [number, string, number];
//# sourceMappingURL=index.d.ts.map