@accounter/shaam-uniform-format-generator
Version:
Fully typed application that generates, parses, and validates SHAAM uniform format tax reports (INI.TXT and BKMVDATA.TXT).
22 lines (21 loc) • 693 B
text/typescript
/**
* String padding utilities for fixed-width formatting
*/
/**
* Pads a string on the left (right-aligns the content)
*
* @param value - The string to pad
* @param width - Target width
* @param fill - Character to use for padding (default: space)
* @returns Left-padded string
*/
export declare function padLeft(value: string, width: number, fill?: string): string;
/**
* Pads a string on the right (left-aligns the content)
*
* @param value - The string to pad
* @param width - Target width
* @param fill - Character to use for padding (default: space)
* @returns Right-padded string
*/
export declare function padRight(value: string, width: number, fill?: string): string;