```typescript
export function stampTable(dies: [string, number][]): Map<string, number> {
    const table = new Map<string, number>();
    for (const [fragment, price] of dies) {
        if (!fragment || typeof fragment !== 'string' || !Number.isInteger(price) || price <= 0) {
            throw new Error('Invalid die entry');
        }
        if (table.has(fragment)) {
            throw new Error('Duplicate fragment in dies');
        }
        table.set(fragment, price);
    }
    return table;
}

export function stampCover(label: string, dies: [string, number][]): number {
    const table = stampTable(dies);

    if (!label || typeof label !== 'string' || label.length === 0) {
        throw new Error('Invalid label');
    }

    const dp = Array.from({ length: label.length + 1 }).fill(Infinity);
    dp[0] = 0;

    for (let i = 1; i <= label.length; i++) {
        for (const [fragment, price] of table.entries()) {
            if (label.startsWith(fragment, i - fragment.length)) {
                dp[i] = Math.min(dp[i], dp[i - fragment.length] + price);
            }
        }
    }

    return dp[label.length];
}
```