19 lines
813 B
TypeScript
19 lines
813 B
TypeScript
// Types of strings-inventory.mjs for the tests.
|
|
import type { DriftReport, InventoryEntry, StringInventory } from '../../../waybetter/packages/runtime/src/stringPacks.ts';
|
|
|
|
export const INVENTORY_FILE: string;
|
|
export const PAGE_FILE: string;
|
|
export const SITE: string;
|
|
export const CATALOG: string;
|
|
export function extractCatalog(source: string, options?: { group?: string }): {
|
|
language: string;
|
|
entries: Record<string, InventoryEntry>;
|
|
counts: Record<'text' | 'message' | 'rich' | 'format', number>;
|
|
};
|
|
export function buildInventory(input: { main: string; emoji: string | null; build: string; previous: StringInventory | null }): {
|
|
inventory: StringInventory;
|
|
drift: DriftReport | null;
|
|
loaded: string[];
|
|
shared: string[];
|
|
};
|
|
export function renderInventory(inventory: StringInventory): string;
|